diff options
Diffstat (limited to 'Bugzilla/CGI.pm')
-rw-r--r-- | Bugzilla/CGI.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm index 5a50dbbeb..6fb986aa5 100644 --- a/Bugzilla/CGI.pm +++ b/Bugzilla/CGI.pm @@ -286,7 +286,9 @@ sub param { # Also look at the URL parameters, after we look at the POST # parameters. This is to allow things like login-form submissions # with URL parameters in the form's "target" attribute. - if (!scalar(@result) && $self->request_method eq 'POST') { + if (!scalar(@result) + && $self->request_method && $self->request_method eq 'POST') + { @result = $self->SUPER::url_param(@_); } |