@@ -, +, @@ fines are below limit - Add a restriction - Confirm the checkouts form is replaced by a message - Add a fine below the noissuescharge limit - Confirm that the form reappears - Apply the patch - Check that the checkout form is gone now - Remove restriction - form should reappear - Add to the fine, so it's above the limit - Form should disappear --- circ/circulation.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/circ/circulation.pl +++ a/circ/circulation.pl @@ -487,7 +487,7 @@ if ( $patron ) { my $account = $patron->account; if( ( my $owing = $account->non_issues_charges ) > 0 ) { my $noissuescharge = C4::Context->preference("noissuescharge") || 5; # FIXME If noissuescharge == 0 then 5, why?? - $noissues = ( not C4::Context->preference("AllowFineOverride") and ( $owing > $noissuescharge ) ); + $noissues ||= ( not C4::Context->preference("AllowFineOverride") and ( $owing > $noissuescharge ) ); $template->param( charges => 1, chargesamount => $owing, --