Bug 29553: Fix crash on undefined notforloan value
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 22 Nov 2021 10:53:07 +0000 (10:53 +0000)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 14 Jan 2022 13:45:11 +0000 (08:45 -0500)
commit2eec30eb644bbc6a1851b5264a68c84ee177602e
treec964c8f6b7dce91b6a5c1d3f16f6673ec6163147
parent3aa649d3ebb605f1da2a985b2339eaab16dfa996
Bug 29553: Fix crash on undefined notforloan value

Test plan:
Set item level itypes to biblioitems.
Find a record with itemtype NULL, having an item.
Place a hold. Without this patch, it crashes.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: ThibaudGLT <thibaud.guillot@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Reserves.pm