aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_template.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-09-30 14:58:05 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-09-30 14:58:05 +0000
commitb08c54f35eb85d0ccd01c65e1d9460603fc1c076 (patch)
tree252d8a70ca5e3b84eb590c404a2fe7df16653972 /phpBB/includes/functions_template.php
parente4fc191e0dba2f18dd046451f1a95e4fb9e76a88 (diff)
downloadforums-b08c54f35eb85d0ccd01c65e1d9460603fc1c076.tar
forums-b08c54f35eb85d0ccd01c65e1d9460603fc1c076.tar.gz
forums-b08c54f35eb85d0ccd01c65e1d9460603fc1c076.tar.bz2
forums-b08c54f35eb85d0ccd01c65e1d9460603fc1c076.tar.xz
forums-b08c54f35eb85d0ccd01c65e1d9460603fc1c076.zip
- fixing a bug i am unsure about when it occurs (but it occurs). The symptoms are broken template cache files if after removing unnecessary php opening/closing tags result in statements being syntactially incorrect.
- added real syncing to forums acp (not only forum statistics rebuild) git-svn-id: file:///svn/phpbb/trunk@6419 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_template.php')
-rw-r--r--phpBB/includes/functions_template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_template.php b/phpBB/includes/functions_template.php
index f173e001cf..8dce06c0c7 100644
--- a/phpBB/includes/functions_template.php
+++ b/phpBB/includes/functions_template.php
@@ -214,7 +214,7 @@ class template_compile
// There will be a number of occassions where we switch into and out of
// PHP mode instantaneously. Rather than "burden" the parser with this
// we'll strip out such occurences, minimising such switching
- $template_php = str_replace(' ?><?php ', '', $template_php);
+ $template_php = str_replace(' ?><?php ', ' ', $template_php);
return (!$no_echo) ? $template_php : "\$$echo_var .= '" . $template_php . "'";
}