changed order of methods

Signed-off-by: Tomasz Paluszkiewicz <tomasz.paluszkiewicz@gmail.com>
This commit is contained in:
Tomasz Paluszkiewicz 2019-02-26 00:24:02 +01:00
parent 65853a3314
commit 52dcc9550c
No known key found for this signature in database
GPG key ID: 167C7768863A1D31

View file

@ -435,8 +435,8 @@ EOF;
$text = htmlspecialchars($text);
}
$this->ensureBodyIsOpened();
$this->ensureBodyListClosed();
$this->ensureBodyIsOpened();
$this->htmlBody .= vsprintf($this->bodyText, [$text]);
if ($plainText !== false) {