]> git.mxchange.org Git - mailer.git/blobdiff - inc/template-functions.php
Missing template added, fixed loadEmailTemplate() if templte was not found and debug...
[mailer.git] / inc / template-functions.php
index c3943decf43ce2930a35ac84c2a4aefd47ff31ed..9f84147c1bbbfbbc0b5dab54e05ba4475bbb1e4f 100644 (file)
@@ -536,7 +536,7 @@ function loadEmailTemplate ($template, $content = array(), $userid = NULL, $load
        // Are there some content?
        if (empty($newContent)) {
                // Compiling failed
-               $newContent = "Compiler error for template " . $template . " !\nUncompiled content:\n" . $GLOBALS['template_content']['email'][$template];
+               $newContent = "Compiler error for template " . $template . " !\nUncompiled content:\n" . $GLOBALS['template_eval']['email'][$template];
 
                // Add last error if the required function exists
                if (function_exists('error_get_last')) {