summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Mail/EMailTemplate.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Mail/EMailTemplate.php b/lib/private/Mail/EMailTemplate.php
index 05a884a67fa..b3654f30382 100644
--- a/lib/private/Mail/EMailTemplate.php
+++ b/lib/private/Mail/EMailTemplate.php
@@ -435,6 +435,7 @@ EOF;
$text = htmlspecialchars($text);
}
+ $this->ensureBodyListClosed();
$this->ensureBodyIsOpened();
$this->htmlBody .= vsprintf($this->bodyText, [$text]);