aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 03376bf906..109f5b0366 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -4745,7 +4745,8 @@ function page_header($page_title = '', $display_online_list = true, $item_id = 0
'A_COOKIE_SETTINGS' => addslashes('; path=' . $config['cookie_path'] . ((!$config['cookie_domain'] || $config['cookie_domain'] == 'localhost' || $config['cookie_domain'] == '127.0.0.1') ? '' : '; domain=' . $config['cookie_domain']) . ((!$config['cookie_secure']) ? '' : '; secure')),
));
- $event = new phpbb_event();
+ $event = new phpbb_event_data();
+ $event->set_data(compact('page_title', 'display_online_list', 'item_id', 'item'));
$phpbb_dispatcher->dispatch('page_header', $event);
// application/xhtml+xml not used because of IE