summaryrefslogtreecommitdiffstats
path: root/lib/private/Mail
diff options
context:
space:
mode:
authorTomasz Paluszkiewicz <tomasz.paluszkiewicz@gmail.com>2019-02-26 00:24:02 +0100
committerTomasz Paluszkiewicz <tomasz.paluszkiewicz@gmail.com>2019-02-26 00:24:46 +0100
commit52dcc9550c7378820bc36bf6ed9cf36aad671893 (patch)
treedaf4954354f19e44f337be6702112d8758b3ab89 /lib/private/Mail
parent65853a3314225f99ae9c553bc150029e53c1b4d6 (diff)
downloadnextcloud-server-52dcc9550c7378820bc36bf6ed9cf36aad671893.tar.gz
nextcloud-server-52dcc9550c7378820bc36bf6ed9cf36aad671893.zip
changed order of methods
Signed-off-by: Tomasz Paluszkiewicz <tomasz.paluszkiewicz@gmail.com>
Diffstat (limited to 'lib/private/Mail')
-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) {