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:
parent
7b32925c8a
commit
4f332dac68
@ -1 +1 @@
|
||||
9186
|
||||
9187
|
||||
@ -1 +1 @@
|
||||
36e2c7438cf012fcd33f19e7ca887d10c30bb54c
|
||||
0410aa4c4c5bddce26b982a2e066c4da94c60383
|
||||
@ -362,6 +362,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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user