]> git.mxchange.org Git - friendica.git/commitdiff
In PHP versions lower than 5.4 the notification mails could have been sent with the...
authorMichael Vogel <icarus@dabo.de>
Thu, 7 Aug 2014 06:00:53 +0000 (08:00 +0200)
committerMichael Vogel <icarus@dabo.de>
Thu, 7 Aug 2014 06:00:53 +0000 (08:00 +0200)
include/enotify.php

index 85224d4a5bc99d3a8b162c84ce710edf4bd7a6fa..7449edffa267c6d45e9efaaf56bdb4052c3e505c 100644 (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;