summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/CGI.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm
index 879eca9b2..67a2fbab3 100644
--- a/Bugzilla/CGI.pm
+++ b/Bugzilla/CGI.pm
@@ -400,6 +400,10 @@ sub remove_cookie {
# URLs that get POSTed to buglist.cgi.
sub redirect_search_url {
my $self = shift;
+
+ # If there is no parameter, there is nothing to do.
+ return unless $self->param;
+
# If we're retreiving an old list, we never need to redirect or
# do anything related to Bugzilla::Search::Recent.
return if $self->param('regetlastlist');