diff options
author | friendica <info@friendica.com> | 2012-05-01 15:49:22 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-05-01 15:49:22 -0700 |
commit | 38ccd2e6554bac4f0f1bb927eec7f228f21e74bf (patch) | |
tree | 682af6c02f3b244aefbb09631a8625fbd291e778 /include | |
parent | 0ca4fa78c84fb474bf5b86008c4c1ba7b1aa103f (diff) | |
download | volse-hubzilla-38ccd2e6554bac4f0f1bb927eec7f228f21e74bf.tar.gz volse-hubzilla-38ccd2e6554bac4f0f1bb927eec7f228f21e74bf.tar.bz2 volse-hubzilla-38ccd2e6554bac4f0f1bb927eec7f228f21e74bf.zip |
convert html entities to utf-8 before email header encoding
Diffstat (limited to 'include')
-rw-r--r-- | include/enotify.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/enotify.php b/include/enotify.php index 8385bdec5..ca134ac86 100644 --- a/include/enotify.php +++ b/include/enotify.php @@ -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)."-" |