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

index 02c2214..e8a75b2 100644 (file)
@@ -76,7 +76,7 @@ class Pman_Core_Mailer {
         
         $htmlbody = false;
         $htmltemplate = new HTML_Template_Flexy(  );
-        if (is_string($htmltemplate->resolvePath('mail/'.$template.'.body.html')) ) {
+        if (is_string($htmltemplate->resolvePath('mail/'.$templateFile.'.body.html')) ) {
             // then we have a multi-part email...