From: Frédéric Buclin Date: Mon, 27 Oct 2014 10:47:25 +0000 (+0100) Subject: Bug 1087400: CGI 4.05 throws tons of "CGI::param called in list context" warnings X-Git-Tag: bugzilla-4.4.7~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9155570acb38510b26bc04b8f892688d0c1c8490;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 7bb9d96c47..7df916b0cb 100644 --- a/Bugzilla/CGI.pm +++ b/Bugzilla/CGI.pm @@ -344,6 +344,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) {