SQL_ESCAPE() may cause problems with header.tpl
authorRoland Häder <roland@mxchange.org>
Fri, 30 Oct 2009 10:20:38 +0000 (10:20 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 30 Oct 2009 10:20:38 +0000 (10:20 +0000)
inc/functions.php

index 92f96a7..5a3d215 100644 (file)
@@ -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'])."\");";