From cdba6a06d709128bc0b6f9e19d47afd06855731c Mon Sep 17 00:00:00 2001 From: Kyle Hall Date: Wed, 2 Nov 2022 13:31:37 -0400 Subject: [PATCH] Bug 31627: (followup) Hide id for HTML messages --- C4/Letters.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Letters.pm b/C4/Letters.pm index 037f63a497..0c8db67bcb 100644 --- a/C4/Letters.pm +++ b/C4/Letters.pm @@ -1385,7 +1385,7 @@ sub _send_message_by_email { } else { $email = Koha::Email->create($params); if ($is_html) { - $content .= "
$message->{letter_id}" if $message->{id} && C4::Context->preference('SendLetterIdInEmailNotices'); + $content .= "" if $message->{id} && C4::Context->preference('SendLetterIdInEmailNotices'); $email->html_body( _wrap_html( $content, $subject ) ); } else { $content .= "\n$message->{letter_id}" if $message->{id} && C4::Context->preference('SendLetterIdInEmailNotices'); -- 2.30.2