summaryrefslogtreecommitdiff
path: root/FS/FS/Mason
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-06-29 20:32:59 -0700
committerIvan Kohler <ivan@freeside.biz>2015-06-30 23:22:56 -0700
commitb11528f0cbcc3c7fc6412ce0c83940382e14952a (patch)
tree82351052f8c5440ef8dd543e254cd47f8c0323e3 /FS/FS/Mason
parentb7e43528c43bc22a9a7725c1073c3aadb126290c (diff)
silence unnecessary but too-scary warning about CGI::param in list context
Diffstat (limited to 'FS/FS/Mason')
-rw-r--r--FS/FS/Mason/Request.pm4
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;