diff options
author | Ivan Kohler <ivan@freeside.biz> | 2015-06-29 20:32:46 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2015-06-29 20:32:46 -0700 |
commit | 18dac45495554fd8a28eab2a50f9af39953d37ca (patch) | |
tree | 2fe815966fa0b08d86a9e9869a89e7bfa36510aa /FS | |
parent | c9a2b10e9976847e6d96cb6998300ef73e84269a (diff) |
silence unnecessary but too-scary warning about CGI::param in list context
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/Mason/Request.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/FS/FS/Mason/Request.pm b/FS/FS/Mason/Request.pm index 62bf670b9..2cf1ed9e0 100644 --- a/FS/FS/Mason/Request.pm +++ b/FS/FS/Mason/Request.pm @@ -111,6 +111,10 @@ sub freeside_setup { FS::Trace->log(' UTF-8-decoding form data'); # foreach my $param ( $cgi->param ) { + + #we can't switch to multi_param until we're done supporting deb 7 + local($CGI::LIST_CONTEXT_WARN) = 0; + my @values = $cgi->param($param); next if $cgi->uploadInfo($values[0]); #warn $param; |