summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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..d1a959b5410 100644
--- a/lib/private/Mail/EMailTemplate.php
+++ b/lib/private/Mail/EMailTemplate.php
@@ -436,6 +436,7 @@ EOF;
}
$this->ensureBodyIsOpened();
+ $this->ensureBodyListClosed();
$this->htmlBody .= vsprintf($this->bodyText, [$text]);
if ($plainText !== false) {