projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8951034
)
SQL_ESCAPE() may cause problems with header.tpl
author
Roland Häder
<roland@mxchange.org>
Fri, 30 Oct 2009 10:20:38 +0000
(10:20 +0000)
committer
Roland Häder
<roland@mxchange.org>
Fri, 30 Oct 2009 10:20:38 +0000
(10:20 +0000)
inc/functions.php
patch
|
blob
|
history
diff --git
a/inc/functions.php
b/inc/functions.php
index 92f96a7121b47e1622b31cfb96d4485e15056385..5a3d2155ca18b4e7c9392c2a0e53a8ce4a1e2c5d 100644
(file)
--- 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'])."\");";