]> 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, 13 Apr 2015 23:45:37 +0000 (01:45 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Mon, 13 Apr 2015 23:45:37 +0000 (01:45 +0200)
r=glob a=justdave

Bugzilla/CGI.pm

index 4dd223a3108aeabd1c546385bd6ab139356f67f0..221bd165f3a21cb44583069b7e9f8258b0327609 100644 (file)
@@ -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) {