From 4023fda5b63927ee74e2b55434b088019ccc1f60 Mon Sep 17 00:00:00 2001 From: slawkens Date: Tue, 29 May 2018 20:42:18 +0200 Subject: [PATCH] * fixed _mail() function when $add_html_tags is disabled --- system/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/functions.php b/system/functions.php index c57e53bd..adcf1bc9 100644 --- a/system/functions.php +++ b/system/functions.php @@ -811,7 +811,7 @@ function _mail($to, $subject, $body, $altBody = '', $add_html_tags = true) if($add_html_tags && isset($body[0])) $tmp_body = '' . $body . '

' . $signature_html . ''; else - $tmp_body .= '

' . $signature_html; + $tmp_body = $body . '

' . $signature_html; if($config['smtp_enabled']) {