From 313df6806b543c8051a222761bbc0821d5192f57 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 24 Jun 2022 14:30:53 +0100 Subject: [PATCH] Bug 27779: (QA follow-up) Fix database update Don't overwrite peoples translations if they've already changed the description. Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer --- installer/data/mysql/atomicupdate/bug_27779.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/data/mysql/atomicupdate/bug_27779.pl b/installer/data/mysql/atomicupdate/bug_27779.pl index f99c08d481..1be4bf0ff5 100755 --- a/installer/data/mysql/atomicupdate/bug_27779.pl +++ b/installer/data/mysql/atomicupdate/bug_27779.pl @@ -9,7 +9,7 @@ return { $dbh->do(q{ UPDATE account_credit_types - SET description = 'Refund' WHERE code = 'REFUND' + SET description = 'Refund' WHERE code = 'REFUND' AND description = 'A refund applied to a patrons fine'; }); }, } -- 2.30.2