aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/ucp.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/ucp.php')
-rw-r--r--phpBB/ucp.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/ucp.php b/phpBB/ucp.php
index 64afa0be67..2b129f3ec7 100644
--- a/phpBB/ucp.php
+++ b/phpBB/ucp.php
@@ -328,6 +328,11 @@ if (!$auth->acl_get('u_sig'))
$module->set_display('profile', 'signature', false);
}
+$vars = array('module');
+$event = new phpbb_event_data(compact($vars));
+$phpbb_dispatcher->dispatch('core.ucp_modules', $event);
+extract($event->get_data_filtered($vars));
+
// Select the active module
$module->set_active($id, $mode);