From 5df9c63eea6ecbd75079dbd62759db01927548dd Mon Sep 17 00:00:00 2001 From: Magnus Enger Date: Mon, 18 Nov 2019 21:41:45 +0100 Subject: [PATCH] Bug 24064: DUEDGST typoed as DUEGST Bug 20478 introduced a typo where the letter code DUEDGST was changed to DUEGST. This patch fixes it. To test: - Run "grep -r DUEDGST *" on the Koha git repo. Notice that this letter code is used in e.g. sample notices. - Run "grep -r DUEGST *" and notice that this code only occurs twice, in misc/cronjobs/advance_notices.pl. - Aply this patch. - Run "grep -r DUEGST *" again, and notice there are no more occurences of this typo. Signed-off-by: David Nind Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize --- misc/cronjobs/advance_notices.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/cronjobs/advance_notices.pl b/misc/cronjobs/advance_notices.pl index f0f1425be9..d98783123d 100755 --- a/misc/cronjobs/advance_notices.pl +++ b/misc/cronjobs/advance_notices.pl @@ -391,7 +391,7 @@ if ($digest_per_branch) { send_digests({ sth => $sth_digest, digest => $due_digest, - letter_code => 'DUEGST', + letter_code => 'DUEDGST', branchcode => $branchcode, get_item_info => sub { my $params = shift; @@ -420,7 +420,7 @@ if ($digest_per_branch) { send_digests({ sth => $sth_digest, digest => $due_digest, - letter_code => 'DUEGST', + letter_code => 'DUEDGST', get_item_info => sub { my $params = shift; $params->{sth}->execute($params->{borrowernumber}, 0); -- 2.39.5