]> git.koha-community.org Git - koha.git/commit
Bug 19536: Odd number of elements in anonymous hash in svc/bib
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 27 Oct 2017 09:38:31 +0000 (11:38 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Sun, 26 Nov 2017 16:15:58 +0000 (13:15 -0300)
commitfbcf911f0b8ade40d5189542e4180ceac4d1d109
tree82c2d956da8a4f04c944cc88d6909ef866a83f25
parentb780a14ad9fef316df51680be7c1d9d066959e31
Bug 19536: Odd number of elements in anonymous hash in svc/bib

Resolve:
Odd number of elements in anonymous hash at svc/bib line 69.
Odd number of elements in anonymous hash at svc/bib line 118.

You can see such warnings when testing the Rancor editor.

Replacing url_param by param in fetch_bib since it is a GET call.
Not sure about doing the same in update_bib since that is a POST.
The scalar context will resolve the odd number warns.

Adding a scalar in svc/new_bib too.

Test plan:
Try URL /cgi-bin/koha/svc/bib/[number] with and without the patch.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
svc/bib
svc/new_bib