mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-22 16:40:21 +01:00
[ticket/15306] Error and missing data in core.acp_users_profile_validate
PHPBB3-15306
This commit is contained in:
parent
50d2e337b0
commit
d9662a5891
@ -1454,12 +1454,14 @@ class acp_users
|
||||
* Validate profile data in ACP before submitting to the database
|
||||
*
|
||||
* @event core.acp_users_profile_validate
|
||||
* @var bool submit Flag indicating if submit button has been pressed
|
||||
* @var array data Array with user profile data
|
||||
* @var int user_id The user id
|
||||
* @var array user_row Array with the full user data
|
||||
* @var array error Array with the form errors
|
||||
* @since 3.1.4-RC1
|
||||
* @changed 3.1.12-RC1 Removed submit, added user_id, user_row
|
||||
*/
|
||||
$vars = array('submit', 'data', 'error');
|
||||
$vars = array('data', 'user_id', 'user_row', 'error');
|
||||
extract($phpbb_dispatcher->trigger_event('core.acp_users_profile_validate', compact($vars)));
|
||||
|
||||
if (!sizeof($error))
|
||||
|
Loading…
x
Reference in New Issue
Block a user