aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/template.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2003-02-27 23:37:02 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2003-02-27 23:37:02 +0000
commita2889a6c5fe54f2e19cafe02357d822a2e2e3095 (patch)
treed9b810ee1c0dad2a9a64cc57ab3bb64af532f7c9 /phpBB/includes/template.php
parentd4884b0c02cb0024ed5467d8d0230a5290610546 (diff)
downloadforums-a2889a6c5fe54f2e19cafe02357d822a2e2e3095.tar
forums-a2889a6c5fe54f2e19cafe02357d822a2e2e3095.tar.gz
forums-a2889a6c5fe54f2e19cafe02357d822a2e2e3095.tar.bz2
forums-a2889a6c5fe54f2e19cafe02357d822a2e2e3095.tar.xz
forums-a2889a6c5fe54f2e19cafe02357d822a2e2e3095.zip
ok, a slightly modified posting.php, some fixes too. topic-review and polls will re-appear shortly. Posting is a little bit screwed up now... will get fixed soon too. posting new topics/reply/quote/preview and edit works partially (the post get stored. ;)) This commit is to show the other developers the changes. ;)
git-svn-id: file:///svn/phpbb/trunk@3572 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/template.php')
-rw-r--r--phpBB/includes/template.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/includes/template.php b/phpBB/includes/template.php
index fa33f57800..f93aaef1e1 100644
--- a/phpBB/includes/template.php
+++ b/phpBB/includes/template.php
@@ -236,6 +236,8 @@ class Template {
if (!($this->compile_load($_str, $handle, false)))
{
+ global $user;
+
if (!$this->loadfile($handle))
{
trigger_error("Template->pparse(): Couldn't load template file for handle $handle", E_USER_ERROR);