Bug 16154: CGI->multi_param - Assign a list
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 29 Mar 2016 08:52:25 +0000 (09:52 +0100)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Tue, 26 Apr 2016 23:16:43 +0000 (23:16 +0000)
commita159d2b067c62bbfd524709813071951bc600ae4
treec0fe4ef066976ccb3301bd8cc8e847520b81bea3
parentf3e4b5bbb6b02d7bb6e89d84c0379666eb1e704f
Bug 16154: CGI->multi_param - Assign a list

This patch replaces the occurrences of
  @foo = $cgi->param('foo');
with
  @foo = $cgi->multi_param('foo');

perl -p -i -e
's/^(\s*@\w+\s*=\s*)\$(cgi|input|query)\->param\(/$1\$$2\->multi_param\(/xms'
**/*.pl

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
12 files changed:
acqui/finishreceive.pl
catalogue/search.pl
labels/label-create-csv.pl
labels/label-create-pdf.pl
labels/label-create-xml.pl
labels/label-edit-batch.pl
labels/label-print.pl
opac/opac-search.pl
patroncards/edit-batch.pl
reserve/renewscript.pl
tags/review.pl
tools/export.pl