Bug 1087400: CGI 4.05 throws tons of "CGI::param called in list context" warnings

r/a=glob


git-svn-id: svn://10.0.0.236/trunk@265641 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzrmirror%bugzilla.org 2014-10-27 11:01:38 +00:00
parent 7b32925c8a
commit 4f332dac68
3 changed files with 3 additions and 2 deletions

View File

@ -1 +1 @@
9186 9187

View File

@ -1 +1 @@
36e2c7438cf012fcd33f19e7ca887d10c30bb54c 0410aa4c4c5bddce26b982a2e066c4da94c60383

View File

@ -362,6 +362,7 @@ sub header {
sub param { sub param {
my $self = shift; my $self = shift;
local $CGI::LIST_CONTEXT_WARN = 0;
# When we are just requesting the value of a parameter... # When we are just requesting the value of a parameter...
if (scalar(@_) == 1) { if (scalar(@_) == 1) {