From 26096082499f06979cd5e978c1608519b5471dd7 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. Signed-off-by: Kelly McElligott Signed-off-by: David Nind Signed-off-by: Kyle M Hall --- tools/letter.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/letter.pl b/tools/letter.pl index e49e2f1bc2..64fe2ff76e 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.24.1 (Apple Git-126)