Bug 27578: Initialize searchid as blank when not populated
authorNick Clemens <nick@bywatersolutions.com>
Fri, 29 Jan 2021 13:47:22 +0000 (13:47 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 1 Mar 2021 10:28:03 +0000 (11:28 +0100)
commit7f0b0e0556127c9ed191b1b741c4cf466b28e1d6
tree4610fd7ff7b6aca19e20211009943c62eb86e07d
parent2a2a04a641289f6043971dd98037e02fbb30f64f
Bug 27578: Initialize searchid as blank when not populated

This patch simply sets the searchid to a blank string if not passed in

To test:
1 - Add a new biblio and save it
2 - Check the logs: /var/log/koha/kohadev/plack-intranet-error.log (or similar)
3 - Note warn about uninitialized value
4 - Apply patch
5 - Add a new biblio
6 - No warn

Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
cataloguing/addbiblio.pl