1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

Merge branch 'ticket/igorw/9924' into develop-olympus

* ticket/igorw/9924:
  [ticket/9924] Pass template instance into $template->display hook
This commit is contained in:
Nils Adermann
2010-12-13 17:21:57 +01:00
2 changed files with 3 additions and 1 deletions

View File

@@ -205,7 +205,7 @@ class template
{
global $user, $phpbb_hook;
if (!empty($phpbb_hook) && $phpbb_hook->call_hook(array(__CLASS__, __FUNCTION__), $handle, $include_once))
if (!empty($phpbb_hook) && $phpbb_hook->call_hook(array(__CLASS__, __FUNCTION__), $handle, $include_once, $this))
{
if ($phpbb_hook->hook_return(array(__CLASS__, __FUNCTION__)))
{