]> git.koha-community.org Git - koha.git/commit
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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 4 Mar 2021 09:35:08 +0000 (10:35 +0100)
commite64e3156d7a10e3d0418432b95e05363e984909c
treec1ae4953fee304bb54036c5fc371d061da65e94b
parent1e03555d4ca523bd9e4cb4e5ca265acf26e49800
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>
(cherry picked from commit 7f0b0e0556127c9ed191b1b741c4cf466b28e1d6)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
cataloguing/addbiblio.pl