https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16154
Bug ID: 16154
Summary: Replace CGI->param with CGI->multi_param in list
context
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: In Discussion
Severity: enhancement
Priority: P5 - low
Component: Acquisitions
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Depends on: 15809
Bug 15809 is now pushed, we are able to replace the occurrences of CGI->param
with CGI->multi_param when needed (in list context).
my @foo = $cgi->param('foo');
must be replaced with
my @foo = $cgi->multi_param('foo');
and
$template->param( foo => $cgi->param('foo') );
must be replaced with
$template->param( foo => scalar $cgi->param('foo') );
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15809
[Bug 15809] versions of CGI < 4.08 do not have multi_param
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/