projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16de7d9
)
All HTML templates now output comments again
author
Roland Häder
<roland@mxchange.org>
Wed, 4 Nov 2009 06:19:22 +0000
(06:19 +0000)
committer
Roland Häder
<roland@mxchange.org>
Wed, 4 Nov 2009 06:19:22 +0000
(06:19 +0000)
inc/functions.php
patch
|
blob
|
history
diff --git
a/inc/functions.php
b/inc/functions.php
index 049a7cb9c1252dd342cb910a3de412b67222fed1..b6d40608d3a53662d16bb29357b04d4dc28e2367 100644
(file)
--- a/
inc/functions.php
+++ b/
inc/functions.php
@@
-327,7
+327,7
@@
function loadTemplate ($template, $return=false, $content=array()) {
$ret = "<!-- Template " . $template . " - Start -->\n" . $GLOBALS['tpl_content'] . "<!-- Template " . $template . " - End -->\n";
// Prepare eval() command
- $eval = '$ret = "' . compileCode(smartAddSlashes($
GLOBALS['tpl_content']
)) . '";';
+ $eval = '$ret = "' . compileCode(smartAddSlashes($
ret
)) . '";';
} else {
// Prepare eval() command
$eval = '$ret = "' . compileCode(smartAddSlashes($GLOBALS['tpl_content'])) . '";';