Commit 1f497506 authored by Frédéric Buclin's avatar Frédéric Buclin

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

r/a=glob
parent 611bca7c
...@@ -362,6 +362,7 @@ sub header { ...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment