[ticket/15214] Fix test foo/foo extension listener

PHPBB3-15214
This commit is contained in:
rxu 2023-12-10 00:37:48 +07:00
parent 4a00212f2d
commit 09fd86ffb0
No known key found for this signature in database
GPG key ID: 8117904FEDEFDD17
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@ class template_event_order implements EventSubscriberInterface
public function set_template_event_priority($event) public function set_template_event_priority($event)
{ {
$template_event_priority_array = $event['template_event_priority_array']; $template_event_priority_array = $event['template_event_priority_array'];
$template_event_priority_array['foo_bar'] = [ $template_event_priority_array['foo_foo'] = [
'event/navbar_header_quick_links_after' => 1, 'event/navbar_header_quick_links_after' => 1,
]; ];
$event['template_event_priority_array'] = $template_event_priority_array; $event['template_event_priority_array'] = $template_event_priority_array;

View file

@ -30,7 +30,7 @@ class template_event_order implements EventSubscriberInterface
public function set_template_event_priority($event) public function set_template_event_priority($event)
{ {
$template_event_priority_array = $event['template_event_priority_array']; $template_event_priority_array = $event['template_event_priority_array'];
$template_event_priority_array['foo_bar'] = [ $template_event_priority_array['foo_foo'] = [
'event/navbar_header_quick_links_after' => -1, 'event/navbar_header_quick_links_after' => -1,
]; ];
$event['template_event_priority_array'] = $template_event_priority_array; $event['template_event_priority_array'] = $template_event_priority_array;