https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24331
Bug ID: 24331
Summary: Internal server error when placing hold on item if
itemtype undefined
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Hold requests
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
Error is:
Can't call method "notforloan" on an undefined value at
/usr/share/koha/lib/C4/Reserves.pm line 1199.
C4::Reserves::IsAvailableForItemLevelRequest:
1198 my $itemtype = $item->effective_itemtype;
1199 my $notforloan_per_itemtype =
Koha::ItemTypes->find($itemtype)->notforloan;
We should check that we found an itemtype before calling notforloan
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/