* fixed _mail() function when $add_html_tags is disabled

This commit is contained in:
slawkens 2018-05-29 20:42:18 +02:00
parent f34f2da9b9
commit 4023fda5b6

View File

@ -811,7 +811,7 @@ function _mail($to, $subject, $body, $altBody = '', $add_html_tags = true)
if($add_html_tags && isset($body[0]))
$tmp_body = '<html><head></head><body>' . $body . '<br/><br/>' . $signature_html . '</body></html>';
else
$tmp_body .= '<br/><br/>' . $signature_html;
$tmp_body = $body . '<br/><br/>' . $signature_html;
if($config['smtp_enabled'])
{