projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9a2b10
)
silence unnecessary but too-scary warning about CGI::param in list context
author
Ivan Kohler
<ivan@freeside.biz>
Tue, 30 Jun 2015 03:32:46 +0000
(20:32 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Tue, 30 Jun 2015 03:32:46 +0000
(20:32 -0700)
FS/FS/Mason/Request.pm
patch
|
blob
|
history
diff --git
a/FS/FS/Mason/Request.pm
b/FS/FS/Mason/Request.pm
index
62bf670
..
2cf1ed9
100644
(file)
--- 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;