From 24819e2c89c3e7b14049eeafc20bdc4473d813aa Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 4 May 2017 13:22:29 -0400 Subject: [PATCH] Bug 15705 (QA Followup) Remove unused variable, fix typo and add due date to notice Signed-off-by: Nick Clemens --- installer/data/mysql/atomicupdate/bug_15705.sql | 2 +- misc/cronjobs/automatic_renewals.pl | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/installer/data/mysql/atomicupdate/bug_15705.sql b/installer/data/mysql/atomicupdate/bug_15705.sql index 35439f1..c6f8c17 100644 --- a/installer/data/mysql/atomicupdate/bug_15705.sql +++ b/installer/data/mysql/atomicupdate/bug_15705.sql @@ -19,5 +19,5 @@ It\'s too late to renew this checkout. You have too much unpaid fines. [% END %] [% ELSE %] -The following item [% biblio.title %] as correctly been renewed. +The following item [% biblio.title %] has correctly been renewed and is now due [% checkout.date_due %] [% END %]", 'email'); diff --git a/misc/cronjobs/automatic_renewals.pl b/misc/cronjobs/automatic_renewals.pl index e0b4447..1906301 100755 --- a/misc/cronjobs/automatic_renewals.pl +++ b/misc/cronjobs/automatic_renewals.pl @@ -99,7 +99,6 @@ while ( my $auto_renew = $auto_renews->next ) { if ( $send_notices ) { for my $borrowernumber ( keys %report ) { my $patron = Koha::Patrons->find($borrowernumber); - my @issues; for my $issue ( @{ $report{$borrowernumber} } ) { my $item = Koha::Items->find( $issue->itemnumber ); my $letter = C4::Letters::GetPreparedLetter( -- 2.1.4