diff options
author | Ivan Kohler <ivan@freeside.biz> | 2015-06-29 20:32:59 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2015-06-29 20:32:59 -0700 |
commit | 54fcb31baa00c3df7e894d222c32b497a3526fef (patch) | |
tree | 84b64536c463920808ebb9c98de50d06f0f280d1 | |
parent | 344f30c6902376570437b322d4f57fbd1880a7fd (diff) |
silence unnecessary but too-scary warning about CGI::param in list context
-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 66c69f6ea..022ff8e8a 100644 --- a/FS/FS/Mason/Request.pm +++ b/FS/FS/Mason/Request.pm @@ -110,6 +110,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; |