]> git.koha-community.org Git - koha.git/commit
Bug 16154: CGI->multi_param - Force scalar context
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 29 Mar 2016 08:51:07 +0000 (09:51 +0100)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Tue, 26 Apr 2016 23:16:43 +0000 (23:16 +0000)
commitf3e4b5bbb6b02d7bb6e89d84c0379666eb1e704f
tree80a63ca21f2697b52e0af9ded919bdbdc7567e02
parentac5a1bfececb5400a77f0ebad90181f5215d5a85
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@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
57 files changed:
acqui/invoice-files.pl
acqui/invoice.pl
admin/aqbudgetperiods.pl
admin/aqbudgets.pl
admin/aqcontract.pl
admin/authorised_values.pl
admin/branches.pl
admin/categories.pl
admin/patron-attr-types.pl
admin/z3950servers.pl
authorities/auth_finder.pl
catalogue/ISBDdetail.pl
catalogue/MARCdetail.pl
catalogue/detail.pl
catalogue/itemsearch.pl
catalogue/labeledMARCdetail.pl
cataloguing/addbiblio.pl
cataloguing/additem.pl
cataloguing/merge.pl
cataloguing/plugin_launcher.pl
cataloguing/value_builder/EXAMPLE.pl
cataloguing/value_builder/marc21_linking_section.pl
cataloguing/value_builder/unimarc_field_210c.pl
cataloguing/value_builder/unimarc_field_4XX.pl
cataloguing/z3950_auth_search.pl
circ/circulation.pl
circ/returns.pl
circ/selectbranchprinter.pl
course_reserves/add_items.pl
course_reserves/course-details.pl
labels/label-edit-layout.pl
labels/label-edit-profile.pl
labels/label-edit-template.pl
members/files.pl
members/member.pl
members/memberentry.pl
members/mod_debarment.pl
members/moremember.pl
members/nl-search.pl
members/paycollect.pl
opac/opac-account.pl
opac/opac-review.pl
opac/opac-search.pl
opac/opac-serial-issues.pl
opac/opac-shelves.pl
opac/opac-topissues.pl
opac/opac-user.pl
patron_lists/list.pl
patroncards/edit-profile.pl
patroncards/edit-template.pl
reports/guided_reports.pl
serials/serial-issues.pl
serials/serials-collection.pl
serials/showpredictionpattern.pl
serials/subscription-add.pl
serials/subscription-renew.pl
virtualshelves/shelves.pl