From: Frédéric Buclin Date: Mon, 13 Apr 2015 23:45:37 +0000 (+0200) Subject: Bug 1087400: CGI 4.05 throws tons of "CGI::param called in list context" warnings X-Git-Tag: bugzilla-4.2.14~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bf96344bb67880ecb2e7c2db81fa72251f2a3f9;p=thirdparty%2Fbugzilla.git Bug 1087400: CGI 4.05 throws tons of "CGI::param called in list context" warnings r=glob a=justdave --- diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm index 4dd223a310..221bd165f3 100644 --- a/Bugzilla/CGI.pm +++ b/Bugzilla/CGI.pm @@ -329,6 +329,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) {