diff options
Diffstat (limited to 'phpBB/index.php')
-rw-r--r-- | phpBB/index.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/phpBB/index.php b/phpBB/index.php index 87b0adeafd..b7d53b5a7a 100644 --- a/phpBB/index.php +++ b/phpBB/index.php @@ -174,9 +174,7 @@ $template->assign_vars(array( $page_title = $user->lang['INDEX']; $vars = array('page_title'); -$event = new phpbb_event_data(compact($vars)); -$phpbb_dispatcher->dispatch('core.index', $event); -extract($event->get_data_filtered($vars)); +extract($phpbb_dispatcher->trigger_event('core.index', compact($vars), $vars)); // Output page page_header($page_title); |