From de07f00630034bf5cebe6bb9f457fc606c5910af Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Wed, 25 Jul 2012 18:31:50 +0200 Subject: [PATCH] Bug 7420 tiny bugfix The printing at the end, in verbose mode was not displaying variables properly because the print was '' and not "" --- misc/cronjobs/fines.pl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/misc/cronjobs/fines.pl b/misc/cronjobs/fines.pl index 25a8122429..27bd06183a 100755 --- a/misc/cronjobs/fines.pl +++ b/misc/cronjobs/fines.pl @@ -113,7 +113,6 @@ for my $overdue ( @{$overdues} ) { my ( $amount, $type, $unitcounttotal ) = CalcFine( $overdue, $borrower->{categorycode}, $branchcode, $datedue, $today ); - $type ||= q{}; # Don't update the fine if today is a holiday. @@ -138,8 +137,8 @@ close $fh; if ($verbose) { my $overdue_items = @{$overdues}; - print <<'EOM'; -Fines assessment -- $today->ymd() -- Saved to $filename + print <<"EOM"; +Fines assessment -- $today -- Saved to $filename Number of Overdue Items: counted $overdue_items reported $counted -- 2.39.5