]> git.mxchange.org Git - friendica.git/blobdiff - include/enotify.php
don't make -desc so obnoxious looking
[friendica.git] / include / enotify.php
index 8385bdec59dac7a8b332df5112f48841e8dfa170..ca134ac86c1814b0d595cc68b64bd5b71d06c5ee 100644 (file)
@@ -402,8 +402,8 @@ class enotify {
         */
        static public function send($params) {
 
-               $fromName = email_header_encode($params['fromName'],'UTF-8'); 
-               $messageSubject = email_header_encode($params['messageSubject'],'UTF-8');
+               $fromName = email_header_encode(html_entity_decode($params['fromName'],ENT_QUOTES,'UTF-8'),'UTF-8'); 
+               $messageSubject = email_header_encode(html_entity_decode($params['messageSubject'],ENT_QUOTES,'UTF-8'),'UTF-8');
                
                // generate a mime boundary
                $mimeBoundary   =rand(0,9)."-"