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: koha-bugs@lists.koha-community.org Reporter: fridolin.somers@biblibre.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com 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.