[freeside-commits] branch FREESIDE_4_BRANCH updated. 7aebaecacccf7966d464733fd9718fe182e2489b
Ivan
ivan at 420.am
Mon Jun 29 20:32:54 PDT 2015
The branch, FREESIDE_4_BRANCH has been updated
via 7aebaecacccf7966d464733fd9718fe182e2489b (commit)
from 7992485be4c1f3083486760203ad8704a7e9f38d (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 7aebaecacccf7966d464733fd9718fe182e2489b
Author: Ivan Kohler <ivan at freeside.biz>
Date: Mon Jun 29 20:32:53 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