diff --git a/phpBB/includes/ucp/ucp_register.php b/phpBB/includes/ucp/ucp_register.php index 00fa8034f9..6709123dfd 100644 --- a/phpBB/includes/ucp/ucp_register.php +++ b/phpBB/includes/ucp/ucp_register.php @@ -411,11 +411,13 @@ class ucp_register * @event core.ucp_register_user_row_after * @var bool submit Do we display the form only * or did the user press submit + * @var array data Array with current ucp registration data * @var array cp_data Array with custom profile fields data - * @var array user_row Array with current ucp registration data + * @var array user_row Array with user data that will be inserted * @since 3.1.4-RC1 + * @changed 3.2.10-RC1 Added data array */ - $vars = array('submit', 'cp_data', 'user_row'); + $vars = array('submit', 'data', 'cp_data', 'user_row'); extract($phpbb_dispatcher->trigger_event('core.ucp_register_user_row_after', compact($vars))); // Register user...