]> git.koha-community.org Git - koha.git/commit
Bug 18716: Remove CGI::param warns from updatesupplier.pl
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 2 Jun 2017 02:52:07 +0000 (23:52 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 12 Jun 2017 10:32:47 +0000 (12:32 +0200)
commit9c2d9c89a437605308ebf58d45fca858a3f56593
treed3ff4d04e8cb0dce91306281f4c1a06a2d61dd1b
parent4def0870d85975c4e926fb62dbc2a9db2807ae20
Bug 18716: Remove CGI::param warns from updatesupplier.pl

This script floods the logs with this kind of warnings.

To test:
- Run:
  $ koha-plack-err
- Edit a vendor in the acquisitions module
- Save
=> FAIL: Logs show lots of warnings that look like:
 CGI::param called in list context from package CGI::Compile::ROOT::home_vagrant_kohaclone_acqui_updatesupplier_2epl
- Apply this patch
- Run:
  $ restart_all
  $ koha-plack-err
- Edit a vendor, add/delete vendor contacts
=> SUCESS: No more warnings
- Verify editing and storing vendor contacts works as expected.
- Sign off :-D

Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit c35932923407e9ec088957f877e8607289b6b914)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
acqui/updatesupplier.pl