From d299e1ffc6372fb9768b8baaea86d20d5380e009 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 --- 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 2bfeb813cb..6856e66342 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -22129,7 +22129,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