Patch applies and functions as described. I agree with you that importing NULL itemtypes is possible Marcel. A higher importance level makes sense.
Signed-off-by: Dilan Johnpullé <dilan@calyx.net.au>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
author => $c->{author},
barcode => $c->{barcode},
itemtype => $item_level_itypes ? $c->{itype} : $c->{itemtype},
- itemtype_description => $itemtype->translated_description,
+ itemtype_description => $itemtype ? $itemtype->translated_description : q{},
location => $location,
homebranch => $c->{homebranch},
itemnotes => $c->{itemnotes},