From bdc8e7105747a867aeaee26a7d63ba765080d81e Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 30 Oct 2019 15:09:11 +0100 Subject: [PATCH] * Mail: stop logging of mails to webserver error-log --- api/src/Mail/Html.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/api/src/Mail/Html.php b/api/src/Mail/Html.php index 13215d35df..07e8de2fd0 100644 --- a/api/src/Mail/Html.php +++ b/api/src/Mail/Html.php @@ -345,8 +345,7 @@ class Html 17 => '#lower#than#$1', 18 => '#greater#than#$1', ); - error_log(__LINE__); - error_log($_html); + $_html = preg_replace($tags,$Replace,$_html); $_html = preg_replace('~\s*]*>~si',' - ',$_html); $_html = preg_replace('~]+>~s','',$_html);