From 71d1d1b84df8fcb40c5cf6057dbf48d6837b2730 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 29 Apr 2021 10:43:31 +0200 Subject: [PATCH] Bug 28258: Fix existing occurrence I think it's good to fix the original problem as well Signed-off-by: Jonathan Druart Signed-off-by: Nick Clemens Signed-off-by: Jonathan Druart (cherry picked from commit d299e1ffc6372fb9768b8baaea86d20d5380e009) Signed-off-by: Fridolin Somers --- installer/data/mysql/updatedatabase.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index b4d2a27e4a..1f4873082f 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -22117,7 +22117,7 @@ if( CheckVersion( $DBversion ) ) { }); $dbh->do(q{ UPDATE letter SET - content = REPLACE(content, "The following item [% biblio.title %] has correctly been renewed and is now due [% checkout.date_due %]", "The following item, [% biblio.title %], has correctly been renewed and is now due on [% checkout.date_due as_due_date => 1 %] + content = REPLACE(content, "The following item [% biblio.title %] has correctly been renewed and is now due [% checkout.date_due %]", "The following item, [% biblio.title %], has correctly been renewed and is now due on [% checkout.date_due | $KohaDates as_due_date => 1 %] ") WHERE code = 'AUTO_RENEWALS'; }); -- 2.39.5