1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-09 02:06:32 +02:00

PHP4 compatibility

git-svn-id: file:///svn/phpbb/trunk@8104 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2007-09-23 13:14:28 +00:00
parent 6e2d395da9
commit 91f5af494b
3 changed files with 19 additions and 20 deletions

View File

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