@@ -, +, @@ --- C4/Circulation.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/C4/Circulation.pm +++ a/C4/Circulation.pm @@ -893,7 +893,7 @@ sub CanBookBeIssued { and $issue->borrowernumber == $borrower->{'borrowernumber'} ? 1 : 0 ); my $toomany = TooMany( $borrower, $item->{biblionumber}, $item, { onsite_checkout => $onsite_checkout, switch_onsite_checkout => $switch_onsite_checkout, } ); # if TooMany max_allowed returns 0 the user doesn't have permission to check out this book - if ( $toomany & !$needsconfirmation{RENEW_ISSUE} ) { + if ( $toomany && !$needsconfirmation{RENEW_ISSUE} ) { if ( $toomany->{max_allowed} == 0 ) { $needsconfirmation{PATRON_CANT} = 1; } --