diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 913ec0b089..50e6c10c39 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -934,7 +934,7 @@ sub CanBookBeIssued { $needsconfirmation{current_loan_count} = $toomany->{count}; $needsconfirmation{max_loans_allowed} = $toomany->{max_allowed}; } else { - $needsconfirmation{TOO_MANY} = $toomany->{reason}; + $issuingimpossible{TOO_MANY} = $toomany->{reason}; $issuingimpossible{current_loan_count} = $toomany->{count}; $issuingimpossible{max_loans_allowed} = $toomany->{max_allowed}; }