changed order of methods

Signed-off-by: Tomasz Paluszkiewicz <tomasz.paluszkiewicz@gmail.com>
pull/14387/head
Tomasz Paluszkiewicz 2019-02-26 00:24:02 +07:00 committed by Backportbot
parent 22cfc5b87f
commit e690658018
1 changed files with 1 additions and 1 deletions

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