[Koha-bugs] [Bug 16154] New: 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 Mar 29 11:16:00 CEST 2016


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: jonathan.druart at bugs.koha-community.org
          Reporter: jonathan.druart at bugs.koha-community.org
        QA Contact: testopia at bugs.koha-community.org
        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.


More information about the Koha-bugs mailing list