From 4939d0ea8f0846283675f45c1d47f15b587789aa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= 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