]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 21 Jun 2021 10:07:28 +0000 (12:07 +0200)
commitb0ec355514692d267d22d130e77bac22d512f3f1
treef67b7db5d8d803357af4f545da08c76b0e8da6c3
parent399b24d53795734ab869366dc6e54e9cfb42a6b2
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>
opac/opac-MARCdetail.pl