DataObjects/Person.php
authorAlan Knowles <alan@akbkhome.com>
Sun, 28 Oct 2012 12:45:37 +0000 (20:45 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sun, 28 Oct 2012 12:45:37 +0000 (20:45 +0800)
DataObjects/Person.php

index ff5963e..ec47f6d 100644 (file)
@@ -152,13 +152,12 @@ class Pman_Core_DataObjects_Person extends DB_DataObject
         if ($htmlbody !== false) {
             require_once 'Mail/mime.php';
             $mime = new Mail_mime(array('eol' => "\n"));
-            $mime->setHeaders($headers);
             $mime->setTXTBody($body);
             $mime->setHTMLBody($htmlbody);
             // I think there might be code in mediaoutreach toEmail somewhere
             // h embeds images here..
             $body = $mime->get();
-            $headers = $mime->headers($hdrs);
+            $headers = $mime->headers($headers);
             
         }