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

            Bug ID: 24168
           Summary: Errors with use of CanItemBeReserved return value
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P5 - low
         Component: Hold requests
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

Bug 15524 changed CanItemBeReserved to return a hashref with status inside.

Looks like But 23116 was intruced with previous behavior.

So now there a uses of CanItemBeReserved return value as a string :
if ( $can_item_be_reserved eq 'OK' || ( $can_item_be_reserved ne
'itemAlreadyOnHold' && $can_override ) ) {

use git grep can_item_be_reserved.

-- 
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