X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Ftemplate-functions.php;h=9f84147c1bbbfbbc0b5dab54e05ba4475bbb1e4f;hb=84253fdf19237eee73da691915c617834f0dd734;hp=c3943decf43ce2930a35ac84c2a4aefd47ff31ed;hpb=62220d980d8f0d189e7ebe8d1a1335af590133d3;p=mailer.git diff --git a/inc/template-functions.php b/inc/template-functions.php index c3943decf4..9f84147c1b 100644 --- a/inc/template-functions.php +++ b/inc/template-functions.php @@ -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')) {