From a2889a6c5fe54f2e19cafe02357d822a2e2e3095 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Thu, 27 Feb 2003 23:37:02 +0000 Subject: 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 --- phpBB/includes/template.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'phpBB/includes/template.php') 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); -- cgit v1.2.1