https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29553

            Bug ID: 29553
           Summary: Reserves: Can't call method "notforloan" on an
                    undefined value
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Hold requests
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

C4::Reserves::IsAvailableForItemLevelRequest
    my $itemtype = $item->effective_itemtype;
    my $notforloan_per_itemtype = Koha::ItemTypes->find($itemtype)->notforloan;

If you have set item level itypes to biblioitems, but your biblioitem record
has itemtype NULL, placing a hold will crash. (You must have an item too.)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
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/

Reply via email to