Koha/svc
Marcel de Rooy fbcf911f0b 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>
2017-11-26 13:15:58 -03:00
..
cataloguing
club
config
hold
members Bug 17829: Move GetMember to Koha::Patron 2017-07-10 13:14:19 -03:00
records
virtualshelves Bug 16476: Do not call CGI->param in list context, some more 2016-05-16 17:11:46 +00:00
article_request Bug 14610 - Add and update scripts 2016-10-26 12:15:14 +00:00
authentication
barcode
bib Bug 19536: Odd number of elements in anonymous hash in svc/bib 2017-11-26 13:15:58 -03:00
bib_profile
checkin
checkouts Bug 19484: Add test before using object itemtype 2017-10-27 14:09:01 -03:00
convert_report
cover_images
holds Bug 19040: Refactor GetMarcBiblio parameters 2017-08-25 10:23:42 -03:00
import_bib
letters
localization
new_bib Bug 19536: Odd number of elements in anonymous hash in svc/bib 2017-11-26 13:15:58 -03:00
renew Bug 16154: Fix some other occurrences 2016-04-26 23:16:44 +00:00
report