[Koha-bugs] [Bug 24168] New: Errors with use of CanItemBeReserved return value
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Dec 4 11:56:34 CET 2019
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 at lists.koha-community.org
Reporter: fridolin.somers at biblibre.com
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at 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.
More information about the Koha-bugs
mailing list