From 05052f40811b65654ef9caef5c81b13db20f3097 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Mon, 7 Mar 2011 15:30:21 -0600 Subject: [PATCH] Bug 1962: Follow-up: Add fine notification during check-in Don't show message when patron has no fines. Signed-off-by: Liz Rea Signed-off-by: Chris Cormack --- circ/returns.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circ/returns.pl b/circ/returns.pl index c05277c3d7..40706a2288 100755 --- a/circ/returns.pl +++ b/circ/returns.pl @@ -243,7 +243,7 @@ if ($barcode) { push( @inputloop, \%input ); my ( $od, $issue, $fines ) = GetMemberIssuesAndFines( $borrower->{'borrowernumber'} ); - if ($fines) { + if ($fines > 0) { $template->param( fines => sprintf("%.2f",$fines) ); $template->param( fineborrowernumber => $borrower->{'borrowernumber'} ); } -- 2.39.5