From: Roland Häder Date: Fri, 30 Oct 2009 10:20:38 +0000 (+0000) Subject: SQL_ESCAPE() may cause problems with header.tpl X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4939d0ea8f0846283675f45c1d47f15b587789aa;p=mailer.git SQL_ESCAPE() may cause problems with header.tpl --- diff --git a/inc/functions.php b/inc/functions.php index 92f96a7121..5a3d2155ca 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -527,7 +527,6 @@ function loadEmailTemplate ($template, $content = array(), $UID = 0) { if (isFileReadable($FQFN)) { // The local file does exists so we load it. :) $GLOBALS['tpl_content'] = readFromFile($FQFN); - $GLOBALS['tpl_content'] = SQL_ESCAPE($GLOBALS['tpl_content']); // Run code $GLOBALS['tpl_content'] = "\$newContent = decodeEntities(\"".compileCode($GLOBALS['tpl_content'])."\");";