diff options
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__)); } } |