diff options
-rw-r--r-- | Bugzilla/CGI.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm index c003e9295..64da0af28 100644 --- a/Bugzilla/CGI.pm +++ b/Bugzilla/CGI.pm @@ -467,6 +467,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'); |