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

index 5fb94d3..02c2214 100644 (file)
@@ -75,8 +75,8 @@ class Pman_Core_Mailer {
         require_once 'HTML/Template/Flexy.php';
         
         $htmlbody = false;
-         $htmltemplate = new HTML_Template_Flexy(  );
-        if (is_string($template->resolvePath('mail/'.$template.'.body.html')) ) {
+        $htmltemplate = new HTML_Template_Flexy(  );
+        if (is_string($htmltemplate->resolvePath('mail/'.$template.'.body.html')) ) {
             // then we have a multi-part email...