X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Ffunctions.php;h=2add576617475d43f8dbd5cb4e5c813cdbb4b13c;hp=dce5f6d7af0763d8fd08e702e2199e24ca399f0e;hb=7df843bde81b6f3a678bd855f96e7ade07fb8e0d;hpb=d5196b1ffea1b731ef3b2eeb59a96fdbd4f97b5f diff --git a/inc/functions.php b/inc/functions.php index dce5f6d7af..2add576617 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -498,7 +498,7 @@ function loadEmailTemplate ($template, $content = array(), $UID = '0') { $GLOBALS['tpl_content'] = readFromFile($FQFN); // Run code - $GLOBALS['tpl_content'] = "\$newContent = decodeEntities(\"".compileCode(smartAddSlashes($GLOBALS['tpl_content']))."\");"; + $GLOBALS['tpl_content'] = "\$newContent = decodeEntities(\"".compileRawCode(smartAddSlashes($GLOBALS['tpl_content']))."\");"; eval($GLOBALS['tpl_content']); } elseif (!empty($template)) { // Template file not found!