aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2014-09-23 23:25:59 +0200
committerAndreas Fischer <bantu@phpbb.com>2014-09-23 23:25:59 +0200
commit34aad4046fa5e15522b12e069862327de2aa0f36 (patch)
tree40ad7a52bd2f0cf845e73e353241128ab4a078a3
parent80f15a41c449853768a7bef856f50ad80aadf560 (diff)
parentd03be5ea5ff3dfcb45f4e7d48e4c95ddb60f7d50 (diff)
downloadforums-34aad4046fa5e15522b12e069862327de2aa0f36.tar
forums-34aad4046fa5e15522b12e069862327de2aa0f36.tar.gz
forums-34aad4046fa5e15522b12e069862327de2aa0f36.tar.bz2
forums-34aad4046fa5e15522b12e069862327de2aa0f36.tar.xz
forums-34aad4046fa5e15522b12e069862327de2aa0f36.zip
Merge pull request #2982 from marc1706/ticket/13070
[ticket/13070] Use old 'template' class for template class hook * marc1706/ticket/13070: [ticket/13070] Use old 'template' class for template class hook
-rw-r--r--phpBB/phpbb/template/base.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/template/base.php b/phpBB/phpbb/template/base.php
index ab0e1f281d..9a40702ba8 100644
--- a/phpBB/phpbb/template/base.php
+++ b/phpBB/phpbb/template/base.php
@@ -142,11 +142,11 @@ abstract class base implements template
{
global $phpbb_hook;
- if (!empty($phpbb_hook) && $phpbb_hook->call_hook(array(__CLASS__, $method), $handle, $this))
+ if (!empty($phpbb_hook) && $phpbb_hook->call_hook(array('template', $method), $handle, $this))
{
- if ($phpbb_hook->hook_return(array(__CLASS__, $method)))
+ if ($phpbb_hook->hook_return(array('template', $method)))
{
- $result = $phpbb_hook->hook_return_result(array(__CLASS__, $method));
+ $result = $phpbb_hook->hook_return_result(array('template', $method));
return array($result);
}
}