Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
changed order of methods
Signed-off-by: Tomasz Paluszkiewicz <[email protected]>
  • Loading branch information
tomaski committed Feb 25, 2019
commit 52dcc9550c7378820bc36bf6ed9cf36aad671893
2 changes: 1 addition & 1 deletion lib/private/Mail/EMailTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -435,8 +435,8 @@ public function addBodyText(string $text, $plainText = '') {
$text = htmlspecialchars($text);
}

$this->ensureBodyIsOpened();
$this->ensureBodyListClosed();
$this->ensureBodyIsOpened();

$this->htmlBody .= vsprintf($this->bodyText, [$text]);
if ($plainText !== false) {
Expand Down