diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2013-11-28 12:10:41 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2013-11-28 12:10:41 +0100 |
commit | 3585d167add394910d92572f7ca41b0402d6f2af (patch) | |
tree | a64e589287f607afb6d8971058cd10c741988b3a | |
parent | e3eb82cf7d1f135dc940c1cc1679e88515f3adb0 (diff) | |
parent | 83b12782737b8eea03fe0cbff07ade9dbf27dee1 (diff) | |
download | forums-3585d167add394910d92572f7ca41b0402d6f2af.tar forums-3585d167add394910d92572f7ca41b0402d6f2af.tar.gz forums-3585d167add394910d92572f7ca41b0402d6f2af.tar.bz2 forums-3585d167add394910d92572f7ca41b0402d6f2af.tar.xz forums-3585d167add394910d92572f7ca41b0402d6f2af.zip |
Merge remote-tracking branch 'prototech/ticket/11869' into develop
* prototech/ticket/11869:
[ticket/11869] Fix strict standards error when registering.
-rw-r--r-- | phpBB/includes/functions_user.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php index 30891c3fb5..b54197ac03 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -281,8 +281,9 @@ function user_add($user_row, $cp_data = false) include_once($phpbb_root_path . 'includes/functions_profile_fields.' . $phpEx); } + $cp = new custom_profile(); $sql = 'INSERT INTO ' . PROFILE_FIELDS_DATA_TABLE . ' ' . - $db->sql_build_array('INSERT', custom_profile::build_insert_sql_array($cp_data)); + $db->sql_build_array('INSERT', $cp->build_insert_sql_array($cp_data)); $db->sql_query($sql); } |