@@ -, +, @@ incorrect message reached the maximum number of renewals --- C4/SIP/ILS.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/C4/SIP/ILS.pm +++ a/C4/SIP/ILS.pm @@ -148,7 +148,7 @@ sub checkout { $circ->screen_msg("Invalid Item"); } elsif ( $item->{borrowernumber} - && !_ci_cardnumber_cmp( $item->{borrowernumber}, $patron_id ) ) + && !_ci_cardnumber_cmp( $item->{borrowernumber}, $patron->borrowernumber ) ) { $circ->screen_msg("Item checked out to another patron"); } @@ -160,7 +160,7 @@ sub checkout { # If the item is already associated with this patron, then # we're renewing it. $circ->renew_ok( $item->{borrowernumber} - && _ci_cardnumber_cmp( $item->{borrowernumber}, $patron_id ) ); + && _ci_cardnumber_cmp( $item->{borrowernumber}, $patron->borrowernumber ) ); $item->{borrowernumber} = $patron_id; $item->{due_date} = $circ->{due}; --