]> git.mxchange.org Git - mailer.git/commitdiff
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 92f96a7121b47e1622b31cfb96d4485e15056385..5a3d2155ca18b4e7c9392c2a0e53a8ce4a1e2c5d 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'])."\");";