View | Details | Raw Unified | Return to bug 25711
Collapse All | Expand All

(-)a/Koha/CirculationRules.pm (-1 / +3 lines)
Lines 602-607 sub get_effective_expire_reserves_charge { Link Here
602
        }
602
        }
603
    );
603
    );
604
604
605
    # we return the value of the system preferencein case the circulation rule wasn't found
606
    # (this should be the case when we saved empty field in a form for a circulation rule),
607
    # and when the rule is found, it returns the value of it including 0
605
    return $expire_reserves_charge_rule ? $expire_reserves_charge_rule->rule_value : C4::Context->preference("ExpireReservesMaxPickUpDelayCharge");
608
    return $expire_reserves_charge_rule ? $expire_reserves_charge_rule->rule_value : C4::Context->preference("ExpireReservesMaxPickUpDelayCharge");
606
609
607
}
610
}
608
- 

Return to bug 25711