Application helper class rewritten, buildMasterTemplateName() method added, Manageabl...
[core.git] / inc / classes / main / mailer / debug / class_DebugMailer.php
index 14bdd412db4a536714a6ac233d0be29f3cd2c0fc..21265be85fff22f27983bcae54afb345c292b5d4 100644 (file)
@@ -164,7 +164,7 @@ class DebugMailer extends BaseMailer implements DeliverableMail {
                $templateInstance->assignTemplateWithVariable('footer', 'footer');
 
                // Load the master template
-               $templateInstance->loadCodeTemplate($this->getApplicationInstance()->getMasterTemplate());
+               $templateInstance->loadCodeTemplate($this->getApplicationInstance()->buildMasterTemplateName());
 
                // Then compile it again
                $templateInstance->compileVariables();