Skip to content

Commit ae62ad2

Browse files
committed
use trigger_event instead of dispatch
1 parent 985ec1a commit ae62ad2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

controller/admin_controller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ protected function add_edit_page_data($entity)
336336
* @event phpbb.pages.acp_add_edit_page
337337
* @since 1.0.0-RC1
338338
*/
339-
$this->dispatcher->dispatch('phpbb.pages.acp_add_edit_page');
339+
$this->dispatcher->trigger_event('phpbb.pages.acp_add_edit_page');
340340

341341
// Set template vars for Page Template select menu
342342
$this->create_page_template_options($entity->get_template());

0 commit comments

Comments
 (0)