diff options
| author | lpsolit%gmail.com <> | 2009-07-05 22:59:22 +0000 |
|---|---|---|
| committer | lpsolit%gmail.com <> | 2009-07-05 22:59:22 +0000 |
| commit | 03d2790c4849657d9fcff7b5fdc0b78dfc0dd382 (patch) | |
| tree | 019ba9d58fc8cee046cd47eca96689bb0abfd2f5 /Bugzilla | |
| parent | 914fb1e84d015ab400fe16e8a03ce7e552af9a05 (diff) | |
| download | bugs-03d2790c4849657d9fcff7b5fdc0b78dfc0dd382.tar bugs-03d2790c4849657d9fcff7b5fdc0b78dfc0dd382.tar.gz bugs-03d2790c4849657d9fcff7b5fdc0b78dfc0dd382.tar.bz2 bugs-03d2790c4849657d9fcff7b5fdc0b78dfc0dd382.tar.xz bugs-03d2790c4849657d9fcff7b5fdc0b78dfc0dd382.zip | |
Bug 502498: Use of uninitialized value in string eq at Bugzilla/CGI.pm line 289 - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'Bugzilla')
| -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(@_); } |
