https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25711
--- Comment #40 from Jonathan Druart <[email protected]> --- (In reply to Andrew Nugged from comment #39) > (In reply to Jonathan Druart from comment #38) > > + return $expire_reserves_charge_rule ? > > $expire_reserves_charge_rule->rule_value : > > C4::Context->preference("ExpireReservesMaxPickUpDelayCharge"); > > > > Is this correct if the rule is "0"? > > if the rule has 0 as a stored value but is found, > then $expire_reserves_charge_rule is the object, > > in case we saving an empty line to form for that rule item, > it transfers undef to DBIC so even no record is created, > then there's not an object and all, "not found". > > (same as I misled myself above, and figured out here: > https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25711#c34 ) Right, I misread! -- You are receiving this mail because: 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/
