From 2ba258e1caeb736684561dc68a82d3dc6b7f18e4 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Thu, 7 Aug 2014 08:00:53 +0200 Subject: [PATCH] In PHP versions lower than 5.4 the notification mails could have been sent with the wrog charset. --- include/enotify.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/enotify.php b/include/enotify.php index 85224d4a..7449edff 100644 --- a/include/enotify.php +++ b/include/enotify.php @@ -404,8 +404,8 @@ intval($params['uid']), LOGGER_DEBUG); $textversion = strip_tags(html_entity_decode(bbcode(stripslashes(str_replace(array("\\r\\n", "\\r", "\\n"), "\n", $body))),ENT_QUOTES,'UTF-8')); - $htmlversion = html_entity_decode(bbcode(stripslashes(str_replace(array("\\r\\n", "\\r","\\n\\n" ,"\\n"), - "
\n",$body)))); + $htmlversion = html_entity_decode(bbcode(stripslashes(str_replace(array("\\r\\n", "\\r","\\n\\n" ,"\\n"), + "
\n",$body))),ENT_QUOTES,'UTF-8'); $datarray = array(); $datarray['banner'] = $banner;