]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1087400: CGI 4.05 throws tons of "CGI::param called in list context" warnings
authorFrédéric Buclin <LpSolit@gmail.com>
Mon, 27 Oct 2014 10:50:32 +0000 (11:50 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Mon, 27 Oct 2014 10:50:32 +0000 (11:50 +0100)
r/a=glob

Bugzilla/CGI.pm

index 18181f489cadd394424267c8be014f6737bbadb7..0b8a486972701b5ffa585b4c75cead25b6a8db13 100644 (file)
@@ -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) {