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

(-)a/C4/Circulation.pm (-3 / +3 lines)
Lines 943-953 sub CanBookBeIssued { Link Here
943
    }
943
    }
944
944
945
    ## check for high holds decreasing loan period
945
    ## check for high holds decreasing loan period
946
    if (C4::Context->preference("decreaseLoanHighHolds") == 1)
946
    my $decrease_loan = C4::Context->preference('decreaseLoanHighHolds');
947
    if ($decrease_loan && $decrease_loan == 1)
947
    {
948
    {
948
        my ($reserved,$num,$duration,$returndate)=checkHighHolds($item,$borrower);
949
        my ($reserved,$num,$duration,$returndate)=checkHighHolds($item,$borrower);
949
        #print "reserved: $reserved\n".Dumper($num);
950
        #print "reserved: $reserved\n".Dumper($num);
950
        if ($num>=C4::Context->preference("decreaseLoanHighHoldsValue"))
951
        if ($num >= C4::Context->preference("decreaseLoanHighHoldsValue"))
951
        {
952
        {
952
            $needsconfirmation{HIGHHOLDS} = {
953
            $needsconfirmation{HIGHHOLDS} = {
953
                num_holds  => $num,
954
                num_holds  => $num,
954
- 

Return to bug 7751