From: quix0r 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=db92f8c0233bdf91f691f1b2bcf95e2493e78d89;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'])."\");";