aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRMcGirr83 <rmcgirr83@gmail.com>2015-02-18 15:23:02 -0500
committerRichard McGirr <rmcgirr83@gmail.com>2015-02-19 05:45:10 -0500
commit1f345a8cf967974699e327d2d21ff5665a2f61bc (patch)
tree209fabda6f896bc3b403ddb09c4bfdebeba78dd6
parent6322970766bd9fa78327fa2ca6a6a43d73b680ee (diff)
downloadforums-1f345a8cf967974699e327d2d21ff5665a2f61bc.tar
forums-1f345a8cf967974699e327d2d21ff5665a2f61bc.tar.gz
forums-1f345a8cf967974699e327d2d21ff5665a2f61bc.tar.bz2
forums-1f345a8cf967974699e327d2d21ff5665a2f61bc.tar.xz
forums-1f345a8cf967974699e327d2d21ff5665a2f61bc.zip
[ticket/13635] Add sql_ary to ucp profile event
PHPBB3-13635
-rw-r--r--phpBB/includes/ucp/ucp_profile.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_profile.php b/phpBB/includes/ucp/ucp_profile.php
index c1cdcf88ca..f05e8a50cf 100644
--- a/phpBB/includes/ucp/ucp_profile.php
+++ b/phpBB/includes/ucp/ucp_profile.php
@@ -380,9 +380,10 @@ class ucp_profile
* @event core.ucp_profile_info_modify_sql_ary
* @var array cp_data Array with the user custom profile fields data
* @var array data Array with user profile data
+ * @var array sql_ary user options data we update
* @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)));
$sql = 'UPDATE ' . USERS_TABLE . '