[Koha-bugs] [Bug 16154] Replace CGI->param with CGI->multi_param in list context
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Apr 26 23:02:00 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16154
Katrin Fischer <katrin.fischer at bsz-bw.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #50754|0 |1
is obsolete| |
--- Comment #32 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 50759
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50759&action=edit
[PASSED QA] Bug 16154: CGI->multi_param - Force scalar context
This patch replaces the occurrences of
$template->param( foo => $cgi->param('foo') );
with
$template->param( foo => scalar $cgi->param('foo') );
perl -p -i -e 's/(\s*=>\s*)\$(cgi|input|query)\->param\(/$1scalar
\$$2\->param\(/xms' **/*.pl
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list