From 3bbf72a974591a775bc3971aeb7eec9e2d13bdf2 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sun, 5 Jul 2009 23:01:15 +0000 Subject: [PATCH] =?utf8?q?Bug=20502498:=20Use=20of=20uninitialized=20value?= =?utf8?q?=20in=20string=20eq=20at=20Bugzilla/CGI.pm=20line=20289=20-=20Pa?= =?utf8?q?tch=20by=20Fr=C3=83=C2=A9d=C3=83=C2=A9ric=20Buclin=20=20r/a=3Dmkanat?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Bugzilla/CGI.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm index b4966f9e8c..9a3d46dbdb 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(@_); } -- 2.47.2