Remove inline if clause

This commit is contained in:
Joshua Ramon Enslin 2021-02-06 20:28:29 +01:00
parent 713fe7a251
commit f41c81a3cd
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -53,7 +53,9 @@ final class MDMailFormat {
$input = trim($input);
$this->_msg_html .= "<h1 style='" . self::CSS_H1 . "'>";
if ($this->use_logo === true) $this->_msg_html .= "<img style='" . self::CSS_LOGO . "' src=\"cid:mdlogo\" alt='' />";
if ($this->use_logo === true) {
$this->_msg_html .= "<img style='" . self::CSS_LOGO . "' src=\"cid:mdlogo\" alt='' />";
}
$this->_msg_html .= "<span style='" . self::CSS_H1_SPAN . "'>" . nl2br($input) . "</span></h1>";
$this->_msg_plain .= "{$input}
===================