In PHP versions lower than 5.4 the notification mails could have been sent with the wrog charset.

This commit is contained in:
Michael Vogel 2014-08-07 08:00:53 +02:00
parent 1104ad4f26
commit 2ba258e1ca

View file

@ -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"),
"<br />\n",$body))));
$htmlversion = html_entity_decode(bbcode(stripslashes(str_replace(array("\\r\\n", "\\r","\\n\\n" ,"\\n"),
"<br />\n",$body))),ENT_QUOTES,'UTF-8');
$datarray = array();
$datarray['banner'] = $banner;