From: Ivan Kohler <ivan@freeside.biz>
Date: Tue, 30 Jun 2015 03:32:59 +0000 (-0700)
Subject: silence unnecessary but too-scary warning about CGI::param in list context
X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=b11528f0cbcc3c7fc6412ce0c83940382e14952a

silence unnecessary but too-scary warning about CGI::param in list context
---

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;