]> git.koha-community.org Git - koha.git/commit
Bug 28545: Noisy uninitialized warn at opac-MARCdetail.pl line 313
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 10 Jun 2021 14:02:16 +0000 (14:02 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Sat, 10 Jul 2021 02:44:25 +0000 (16:44 -1000)
commitc994c785332f733d15fc73f94883323576491251
tree63b30ca7f319c58b3dffe20eb24b8db648d9521e
parentccc2327796e9a9f9f1fef1cf705b270db9fd8b5b
Bug 28545: Noisy uninitialized warn at opac-MARCdetail.pl line 313

Test plan:
You do not even need a NULL value in a authorised value controlled
item field, a zero in damaged or withdrawn is enough to trigger the
warnings. (Because only the 1 is linked to an authvalue.)

Check your plack-opac-error.log before and after applying this change.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Without the patch I had at least four warnings per item: withdrawn,
lost, damaged and notforloan.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 5d6a1380760ce1fa4a0b7b27ab523b831c3c7bae)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
opac/opac-MARCdetail.pl