[ticket/16433] Add data array to core.ucp_register_user_row_after

PHPBB3-16433
This commit is contained in:
mrgoldy 2020-04-11 15:13:05 +02:00
parent c990818200
commit 04e15e6555

View file

@ -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...