Continued:
[core.git] / framework / main / classes / mailer / debug / class_DebugMailer.php
index 372aed8e067b9e316aaa008003b5be2a079d013a..c9292dda89d3ffa8e8d9a5b66aeb55f85d82162e 100644 (file)
@@ -177,7 +177,7 @@ class DebugMailer extends BaseMailer implements DeliverableMail {
                $templateInstance->assignTemplateWithVariable('footer', 'footer');
 
                // Load the master template
-               $templateInstance->loadCodeTemplate(Registry::getRegistry()->getInstance('app')->buildMasterTemplateName());
+               $templateInstance->loadCodeTemplate(GenericRegistry::getRegistry()->getInstance('application')->buildMasterTemplateName());
 
                // Then compile it again
                $templateInstance->compileVariables();