From 52dcc9550c7378820bc36bf6ed9cf36aad671893 Mon Sep 17 00:00:00 2001 From: Tomasz Paluszkiewicz <tomasz.paluszkiewicz@gmail.com> Date: Tue, 26 Feb 2019 00:24:02 +0100 Subject: [PATCH] changed order of methods Signed-off-by: Tomasz Paluszkiewicz <tomasz.paluszkiewicz@gmail.com> --- lib/private/Mail/EMailTemplate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Mail/EMailTemplate.php b/lib/private/Mail/EMailTemplate.php index d1a959b5410..b3654f30382 100644 --- a/lib/private/Mail/EMailTemplate.php +++ b/lib/private/Mail/EMailTemplate.php @@ -435,8 +435,8 @@ EOF; $text = htmlspecialchars($text); } - $this->ensureBodyIsOpened(); $this->ensureBodyListClosed(); + $this->ensureBodyIsOpened(); $this->htmlBody .= vsprintf($this->bodyText, [$text]); if ($plainText !== false) { -- GitLab