]> 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:47:25 +0000 (11:47 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Mon, 27 Oct 2014 10:47:25 +0000 (11:47 +0100)
r/a=glob

Bugzilla/CGI.pm

index 7bb9d96c47687eb1d033be85b4a58c342da1bfcc..7df916b0cbfd182937261163fbcdafeab68e4485 100644 (file)
@@ -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) {