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

(-)a/C4/Circulation.pm (-3 / +3 lines)
Lines 929-939 sub CanBookBeIssued { Link Here
929
    }
929
    }
930
930
931
    ## check for high holds decreasing loan period
931
    ## check for high holds decreasing loan period
932
    if (C4::Context->preference("decreaseLoanHighHolds") == 1)
932
    my $decrease_loan = C4::Context->preference('decreaseLoanHighHolds');
933
    if ($decrease_loan && $decrease_loan == 1)
933
    {
934
    {
934
        my ($reserved,$num,$duration,$returndate)=checkHighHolds($item,$borrower);
935
        my ($reserved,$num,$duration,$returndate)=checkHighHolds($item,$borrower);
935
        #print "reserved: $reserved\n".Dumper($num);
936
        #print "reserved: $reserved\n".Dumper($num);
936
        if ($num>=C4::Context->preference("decreaseLoanHighHoldsValue"))
937
        if ($num >= C4::Context->preference("decreaseLoanHighHoldsValue"))
937
        {
938
        {
938
            $needsconfirmation{HIGHHOLDS} = {
939
            $needsconfirmation{HIGHHOLDS} = {
939
                num_holds  => $num,
940
                num_holds  => $num,
940
- 

Return to bug 7751