Mailer.php
authoredward <edward@roojs.com>
Mon, 26 Mar 2018 06:18:34 +0000 (14:18 +0800)
committeredward <edward@roojs.com>
Mon, 26 Mar 2018 06:18:34 +0000 (14:18 +0800)
Mailer.php

index 3e9a353..ce70814 100644 (file)
@@ -472,7 +472,7 @@ class Pman_Core_Mailer {
         $s = $dom->createElement('style');
         $e = $dom->createTextNode($this->css_inline);
         $s->appendChild($e);
-        $body->item(0)->appendChild($s);
+        $head->item(0)->appendChild($s);
         
         return $dom->saveHTML();
     }