diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2007-09-23 13:14:28 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-09-23 13:14:28 +0000 |
commit | 91f5af494b350d6b43b03316d381cc25e34933c7 (patch) | |
tree | 3ee6c1bdd58fc92585b2a3fcdd1adf874f18a9c2 /phpBB/includes/template.php | |
parent | 6e2d395da9fd3f2d641e368eea40322df7159955 (diff) | |
download | forums-91f5af494b350d6b43b03316d381cc25e34933c7.tar forums-91f5af494b350d6b43b03316d381cc25e34933c7.tar.gz forums-91f5af494b350d6b43b03316d381cc25e34933c7.tar.bz2 forums-91f5af494b350d6b43b03316d381cc25e34933c7.tar.xz forums-91f5af494b350d6b43b03316d381cc25e34933c7.zip |
PHP4 compatibility
git-svn-id: file:///svn/phpbb/trunk@8104 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/template.php')
-rw-r--r-- | phpBB/includes/template.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/phpBB/includes/template.php b/phpBB/includes/template.php index ca118fb632..10411b268e 100644 --- a/phpBB/includes/template.php +++ b/phpBB/includes/template.php @@ -149,12 +149,11 @@ class template { global $user, $phpbb_hook; - // To let users change the complete templated page (all variables available) - if ($phpbb_hook->call_hook(array(get_class(), __FUNCTION__), $handle, $include_once)) + if ($phpbb_hook->call_hook(array(get_class($this), __FUNCTION__), $handle, $include_once)) { - if ($phpbb_hook->hook_return(array(get_class(), __FUNCTION__))) + if ($phpbb_hook->hook_return(array(get_class($this), __FUNCTION__))) { - return $phpbb_hook->hook_return_result(array(get_class(), __FUNCTION__)); + return $phpbb_hook->hook_return_result(array(get_class($this), __FUNCTION__)); } } |