aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2014-10-27 11:47:25 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2014-10-27 11:47:25 +0100
commit9155570acb38510b26bc04b8f892688d0c1c8490 (patch)
treedc1689bedc01d63854253a9d8e5c199c8362ad28
parentBug 1088483: Remove references to the "enable bug tagging" preference from th... (diff)
downloadbugzilla-9155570acb38510b26bc04b8f892688d0c1c8490.tar.gz
bugzilla-9155570acb38510b26bc04b8f892688d0c1c8490.tar.bz2
bugzilla-9155570acb38510b26bc04b8f892688d0c1c8490.zip
Bug 1087400: CGI 4.05 throws tons of "CGI::param called in list context" warnings
r/a=glob
-rw-r--r--Bugzilla/CGI.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm
index 7bb9d96c4..7df916b0c 100644
--- a/Bugzilla/CGI.pm
+++ b/Bugzilla/CGI.pm
@@ -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) {