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

index 8124d39..a5a60db 100644 (file)
@@ -105,16 +105,15 @@ class Pman_Core_DataObjects_Person extends DB_DataObject
         /* use variables from this object to ouput data. */
         $mailtext = $template->bufferedOutputObject($content);
         
+        $htmlbody = false;
         // if a html file with the same name exists, use that as the body
         // I've no idea where this code went, it was here before..
         if (false !== $template->resolvePath ( "mail/$templateFile.html" )) {
             $tops['nonHTML'] = false;
             $template = new HTML_Template_Flexy( $tops );
             $template->compile("mail/$templateFile.html");
-       
             $htmlbody = $template->bufferedOutputObject($content);
             
-            
         }