Commit 03d2790c authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 502498: Use of uninitialized value in string eq at Bugzilla/CGI.pm line 289…

Bug 502498: Use of uninitialized value in string eq at Bugzilla/CGI.pm line 289 - Patch by Fré©ric Buclin <LpSolit@gmail.com> r/a=mkanat
parent 914fb1e8
......@@ -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(@_);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment