[freeside-commits] branch 3.x-pre updated. 54fcb31baa00c3df7e894d222c32b497a3526fef

Ivan ivan at 420.am
Mon Jun 29 20:33:00 PDT 2015


The branch, 3.x-pre has been updated
       via  54fcb31baa00c3df7e894d222c32b497a3526fef (commit)
      from  344f30c6902376570437b322d4f57fbd1880a7fd (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 54fcb31baa00c3df7e894d222c32b497a3526fef
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Jun 29 20:32:59 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 66c69f6..022ff8e 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;

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

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




More information about the freeside-commits mailing list