From 1a96382f43afe13a0d88ff023dd23258c6f60307 Mon Sep 17 00:00:00 2001 From: Katrin Fischer <Katrin.Fischer.83@web.de> Date: Sun, 6 Mar 2011 22:54:26 +0100 Subject: [PATCH] Bug 1962: Follow-up: Add fine notification during check-in Content-Type: text/plain; charset="utf-8" Don't show message when patron has no fines. --- circ/returns.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/circ/returns.pl b/circ/returns.pl index c05277c..40706a2 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'} ); } -- 1.7.1