summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTomasz Paluszkiewicz <tomasz.paluszkiewicz@gmail.com>2019-02-26 00:24:02 +0100
committerBackportbot <backportbot-noreply@rullzer.com>2019-02-26 13:42:41 +0000
commite6906580184279cea09b0ccc884c8846c3b8b4f4 (patch)
treec23412ef62799a7d5460c68166a098d7d39b7d64 /lib
parent22cfc5b87f64de47c342329dde60ede13e43b4cf (diff)
downloadnextcloud-server-e6906580184279cea09b0ccc884c8846c3b8b4f4.tar.gz
nextcloud-server-e6906580184279cea09b0ccc884c8846c3b8b4f4.zip
changed order of methods
Signed-off-by: Tomasz Paluszkiewicz <tomasz.paluszkiewicz@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Mail/EMailTemplate.php2
1 files changed, 1 insertions, 1 deletions
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) {