r1567: In NotificationCenter::finalize() tell the XML parser to use utf8
authorRobert Sesek <rsesek@bluestatic.org>
Sat, 7 Jul 2007 23:05:24 +0000 (23:05 +0000)
committerRobert Sesek <rsesek@bluestatic.org>
Sat, 7 Jul 2007 23:05:24 +0000 (23:05 +0000)
includes/class_notification.php

index ed4c3b27ec7479a57b14d7b6c86b69c282b40ac4..38cfafb4a1bc29eede4679f8fe73f853388f36c6 100644 (file)
@@ -591,7 +591,7 @@ class NotificationCenter
                        $parts = implode("\n\n", $noticelist);
                        
                        eval('$email = "' . $this->registry->template->fetch(FetchEmailPath('bugnotification.xml', $this->_localeFromUserId($userid))) . '";');
-                       $email = $this->registry->xml->parse($email);
+                       $email = $this->registry->xml->parse($email, true);
                        $this->registry->mail->setSubject($email['email']['subject']['value']);
                        $this->registry->mail->setBodyText($email['email']['bodyText']['value']);