From: Frédéric Buclin Date: Mon, 27 Oct 2014 10:49:09 +0000 (+0100) Subject: Bug 1087400: CGI 4.05 throws tons of "CGI::param called in list context" warnings X-Git-Tag: bugzilla-5.0rc1~55 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f497506d5bf76eac8dd591550262e10b2f9aabb;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) {