Mailer.php
authorAlan Knowles <alan@roojs.com>
Wed, 22 Aug 2012 06:14:26 +0000 (14:14 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 22 Aug 2012 06:14:26 +0000 (14:14 +0800)
Mailer.php

index e8a75b2..d4cf3a8 100644 (file)
@@ -82,7 +82,7 @@ class Pman_Core_Mailer {
             
             $htmltemplate = new HTML_Template_Flexy(  );
             $htmltemplate->compile('mail/'. $templateFile.'.body.html');
-            $htmlbody =  $template->bufferedOutputObject($content);
+            $htmlbody =  $htmltemplate->bufferedOutputObject($content);
             
             // for the html body, we may want to convert the attachments to images.