From f933596e6ad515e8a7e5e3f47ef298deead2a67b Mon Sep 17 00:00:00 2001 From: Kamil Kuzminski Date: Mon, 21 Jan 2019 16:43:11 +0100 Subject: [PATCH] Do not encode entities for e-mail subject (see https://github.com/codefog/contao-events_subscriptions/issues/13) --- library/NotificationCenter/MessageDraft/EmailMessageDraft.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/NotificationCenter/MessageDraft/EmailMessageDraft.php b/library/NotificationCenter/MessageDraft/EmailMessageDraft.php index cdf25986..1b4d7b4e 100644 --- a/library/NotificationCenter/MessageDraft/EmailMessageDraft.php +++ b/library/NotificationCenter/MessageDraft/EmailMessageDraft.php @@ -129,7 +129,7 @@ public function getReplyToEmail() */ public function getSubject() { - return \Haste\Util\StringUtil::recursiveReplaceTokensAndTags($this->objLanguage->email_subject, $this->arrTokens, StringUtil::NO_TAGS | StringUtil::NO_BREAKS); + return \Haste\Util\StringUtil::recursiveReplaceTokensAndTags($this->objLanguage->email_subject, $this->arrTokens, StringUtil::NO_TAGS | StringUtil::NO_BREAKS | \Haste\Util\StringUtil::NO_ENTITIES); } /**