aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2015-04-14 01:45:37 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2015-04-14 01:45:37 +0200
commit6bf96344bb67880ecb2e7c2db81fa72251f2a3f9 (patch)
tree19fe96ada73a1d8a57b07c11b350f7308d97ce21
parentBug 1001846: When editing cc_accessible using Bug.update, the method sometime... (diff)
downloadbugzilla-6bf96344bb67880ecb2e7c2db81fa72251f2a3f9.tar.gz
bugzilla-6bf96344bb67880ecb2e7c2db81fa72251f2a3f9.tar.bz2
bugzilla-6bf96344bb67880ecb2e7c2db81fa72251f2a3f9.zip
Bug 1087400: CGI 4.05 throws tons of "CGI::param called in list context" warnings
r=glob a=justdave
-rw-r--r--Bugzilla/CGI.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm
index 4dd223a31..221bd165f 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) {