Remove inline if clause
This commit is contained in:
1 file changed
+3
-1
@@ -53,7 +53,9 @@ public function appendHeadline(string $input):void {
|
|||||||
$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}
|
||||||
===================
|
===================
|
||||||
|
|||||||
Reference in new issue
Block a user