From 10b94f676d8150c8071d2c6593ece951a40257da 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 Signed-off-by: Kyle M Hall --- 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 35439f1d24..c6f8c17a13 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 e0b4447ae5..190630149f 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.39.5