From: Frédéric Buclin Date: Mon, 27 Oct 2014 10:50:32 +0000 (+0100) Subject: Bug 1087400: CGI 4.05 throws tons of "CGI::param called in list context" warnings X-Git-Tag: release-5.1.1~478 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0410aa4c4c5bddce26b982a2e066c4da94c60383;p=thirdparty%2Fbugzilla.git Bug 1087400: CGI 4.05 throws tons of "CGI::param called in list context" warnings r/a=glob --- diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm index 18181f489c..0b8a486972 100644 --- a/Bugzilla/CGI.pm +++ b/Bugzilla/CGI.pm @@ -362,6 +362,7 @@ sub header { sub param { my $self = shift; + local $CGI::LIST_CONTEXT_WARN = 0; # When we are just requesting the value of a parameter... if (scalar(@_) == 1) {