From: quix0r Date: Wed, 4 Nov 2009 06:19:22 +0000 (+0000) Subject: All HTML templates now output comments again X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b7c6dc6452927060ccf339a64720c3f69610d28e;p=mailer.git All HTML templates now output comments again --- diff --git a/inc/functions.php b/inc/functions.php index 049a7cb9c1..b6d40608d3 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -327,7 +327,7 @@ function loadTemplate ($template, $return=false, $content=array()) { $ret = "\n" . $GLOBALS['tpl_content'] . "\n"; // Prepare eval() command - $eval = '$ret = "' . compileCode(smartAddSlashes($GLOBALS['tpl_content'])) . '";'; + $eval = '$ret = "' . compileCode(smartAddSlashes($ret)) . '";'; } else { // Prepare eval() command $eval = '$ret = "' . compileCode(smartAddSlashes($GLOBALS['tpl_content'])) . '";';