From db92f8c0233bdf91f691f1b2bcf95e2493e78d89 Mon Sep 17 00:00:00 2001 From: quix0r Date: Fri, 30 Oct 2009 10:20:38 +0000 Subject: [PATCH] SQL_ESCAPE() may cause problems with header.tpl --- inc/functions.php | 1 - 1 file changed, 1 deletion(-) 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'])."\");"; -- 2.39.5