Bugzilla – Attachment 166375 Details for
Bug 31627
Add ability to embed the letter ID in outgoing email notices
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31627: (follow-up) Hide id for HTML messages
Bug-31627-follow-up-Hide-id-for-HTML-messages.patch (text/plain), 1.13 KB, created by
Kyle M Hall (khall)
on 2024-05-08 10:37:13 UTC
(
hide
)
Description:
Bug 31627: (follow-up) Hide id for HTML messages
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2024-05-08 10:37:13 UTC
Size:
1.13 KB
patch
obsolete
>From 911d767c5059dbcdeae1771a88218713504061e8 Mon Sep 17 00:00:00 2001 >From: Kyle Hall <kyle@bywatersolutions.com> >Date: Wed, 2 Nov 2022 13:31:37 -0400 >Subject: [PATCH] Bug 31627: (follow-up) Hide id for HTML messages > >Signed-off-by: Sam Lau <samalau@gmail.com> >--- > C4/Letters.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Letters.pm b/C4/Letters.pm >index 0c4883202f6..49c6c42797b 100644 >--- a/C4/Letters.pm >+++ b/C4/Letters.pm >@@ -1465,7 +1465,7 @@ sub _send_message_by_email { > } else { > $email = Koha::Email->create($params); > if ($is_html) { >- $content .= "<br/>$message->{letter_id}" if $message->{id} && C4::Context->preference('SendLetterIdInEmailNotices'); >+ $content .= "<span id='letter_id' style='display:none'>$message->{letter_id}</span>" 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 31627
:
140998
|
141025
|
142826
|
143022
|
151536
|
151537
|
155364
|
166374
|
166375
|
166376
|
166377
|
166378
|
166379
|
166399
|
166400
|
166401