Remove inline if clause

This commit is contained in:
jrenslin committed 2021-02-06 20:28:29 +01:00
1 parent 713fe7a251
commit f41c81a3cd
1 file changed
+3 -1
+3 -1
View File
@@ -53,7 +53,9 @@ public function appendHeadline(string $input):void {
$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}
===================