Remove inline if clause
This commit is contained in:
parent
713fe7a251
commit
f41c81a3cd
|
@ -53,7 +53,9 @@ final class MDMailFormat {
|
||||||
$input = trim($input);
|
$input = trim($input);
|
||||||
|
|
||||||
$this->_msg_html .= "<h1 style='" . self::CSS_H1 . "'>";
|
$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_html .= "<span style='" . self::CSS_H1_SPAN . "'>" . nl2br($input) . "</span></h1>";
|
||||||
$this->_msg_plain .= "{$input}
|
$this->_msg_plain .= "{$input}
|
||||||
===================
|
===================
|
||||||
|
|
Loading…
Reference in New Issue
Block a user