From 6215bc4205ffca00b5cc05a15e0d8e408844e85c Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Wed, 24 Feb 2021 12:38:50 +0000 Subject: [PATCH] Bug 14233: (QA follow-up) Record updated content We should record the updated template, not the content prior to the update.. That way we can properly compare between versions to see the changes made. --- tools/letter.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/letter.pl b/tools/letter.pl index 1641f55252..19b6147a5b 100755 --- a/tools/letter.pl +++ b/tools/letter.pl @@ -316,7 +316,7 @@ sub add_validate { next; } elsif ( $letter and $letter->{message_transport_type} eq $mtt and $letter->{lang} eq $lang ) { - logaction( 'NOTICES', 'MODIFY', $letter->{id}, $letter->{content}, + logaction( 'NOTICES', 'MODIFY', $letter->{id}, $content, 'Intranet' ) unless ( $content eq $letter->{content} ); $dbh->do( -- 2.20.1