From: Roland Häder 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=47a45ea9324de396816a9af2d4d12ae8a0d248a7;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'])) . '";';