mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[feature/event-dispatcher] Update core.page_header event
Update it to the new correct format. PHPBB3-9550
This commit is contained in:
parent
b250ffc561
commit
0d6a5cb6ae
1 changed files with 1 additions and 3 deletions
|
@ -4763,9 +4763,7 @@ function page_header($page_title = '', $display_online_list = true, $item_id = 0
|
|||
));
|
||||
|
||||
$vars = array('page_title', 'display_online_list', 'item_id', 'item');
|
||||
$event = new phpbb_event_data(compact($vars));
|
||||
$phpbb_dispatcher->dispatch('core.page_header', $event);
|
||||
extract($event->get_data_filtered($vars));
|
||||
extract($phpbb_dispatcher->trigger_event('core.page_header', compact($vars)));
|
||||
|
||||
// application/xhtml+xml not used because of IE
|
||||
header('Content-type: text/html; charset=UTF-8');
|
||||
|
|
Loading…
Add table
Reference in a new issue