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

(-)a/C4/Circulation.pm (-2 / +1 lines)
Lines 888-894 sub CanBookBeIssued { Link Here
888
      and $issue->borrowernumber == $borrower->{'borrowernumber'} ? 1 : 0 );
888
      and $issue->borrowernumber == $borrower->{'borrowernumber'} ? 1 : 0 );
889
    my $toomany = TooMany( $borrower, $item->{biblionumber}, $item, { onsite_checkout => $onsite_checkout, switch_onsite_checkout => $switch_onsite_checkout, } );
889
    my $toomany = TooMany( $borrower, $item->{biblionumber}, $item, { onsite_checkout => $onsite_checkout, switch_onsite_checkout => $switch_onsite_checkout, } );
890
    # if TooMany max_allowed returns 0 the user doesn't have permission to check out this book
890
    # if TooMany max_allowed returns 0 the user doesn't have permission to check out this book
891
    if ( $toomany  & !$needsconfirmation{RENEW_ISSUE} ) {
891
    if ( $toomany && !$needsconfirmation{RENEW_ISSUE} ) {
892
        if ( $toomany->{max_allowed} == 0 ) {
892
        if ( $toomany->{max_allowed} == 0 ) {
893
            $needsconfirmation{PATRON_CANT} = 1;
893
            $needsconfirmation{PATRON_CANT} = 1;
894
        }
894
        }
895
- 

Return to bug 19198