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)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 2 Jul 2021 13:05:24 +0000 (09:05 -0400)
commit5d6a1380760ce1fa4a0b7b27ab523b831c3c7bae
treecac3a2af0997d36c4024f13eb054f07027994167
parent188479881fdafb6ef77d9e7278738dba372f15c2
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