[Koha-bugs] [Bug 26910] When calling the effective rule (allowed reserves), the undef is now set at 0 versus undef

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 3 16:47:30 CET 2020


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

--- Comment #2 from Nick Clemens <nick at bywatersolutions.com> ---
Found from bug 26911 

Set some other values for a rule in the circ matrix then
DELETE FROM circulation_rules WHERE rule_name = 'reservesallowed';

The rules now appear as unlimited, but act as if 0

This line:
 427         $allowedreserves  = $rights->{reservesallowed} //
$allowedreserves;

Previously it did not assign to allowed reserves which is defaulted to 0 at the
beginning of CanItemBeReserved

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list