]> 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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Fri, 5 Mar 2021 21:17:52 +0000 (21:17 +0000)
commitceed707a171028caad79c7ca07f3585a84624696
treea914a255438e93ad45d4428deb214b5c6599cd29
parent168a435cd8ccc68cfa7b052e8b83b32127151d84
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>
(cherry picked from commit e64e3156d7a10e3d0418432b95e05363e984909c)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
cataloguing/addbiblio.pl