[freeside-commits] branch master updated. 18dac45495554fd8a28eab2a50f9af39953d37ca

Ivan ivan at 420.am
Mon Jun 29 20:32:47 PDT 2015


The branch, master has been updated
       via  18dac45495554fd8a28eab2a50f9af39953d37ca (commit)
      from  c9a2b10e9976847e6d96cb6998300ef73e84269a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 18dac45495554fd8a28eab2a50f9af39953d37ca
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Jun 29 20:32:46 2015 -0700

    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 62bf670..2cf1ed9 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;

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/Mason/Request.pm |    4 ++++
 1 file changed, 4 insertions(+)




More information about the freeside-commits mailing list