mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[ticket/13635] Add sql_ary to ucp profile event
PHPBB3-13635
This commit is contained in:
parent
6322970766
commit
1f345a8cf9
1 changed files with 2 additions and 1 deletions
|
@ -380,9 +380,10 @@ class ucp_profile
|
||||||
* @event core.ucp_profile_info_modify_sql_ary
|
* @event core.ucp_profile_info_modify_sql_ary
|
||||||
* @var array cp_data Array with the user custom profile fields data
|
* @var array cp_data Array with the user custom profile fields data
|
||||||
* @var array data Array with user profile data
|
* @var array data Array with user profile data
|
||||||
|
* @var array sql_ary user options data we update
|
||||||
* @since 3.1.4-RC1
|
* @since 3.1.4-RC1
|
||||||
*/
|
*/
|
||||||
$vars = array('cp_data', 'data');
|
$vars = array('cp_data', 'data', 'sql_ary');
|
||||||
extract($phpbb_dispatcher->trigger_event('core.ucp_profile_info_modify_sql_ary', compact($vars)));
|
extract($phpbb_dispatcher->trigger_event('core.ucp_profile_info_modify_sql_ary', compact($vars)));
|
||||||
|
|
||||||
$sql = 'UPDATE ' . USERS_TABLE . '
|
$sql = 'UPDATE ' . USERS_TABLE . '
|
||||||
|
|
Loading…
Add table
Reference in a new issue