mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 19:11:47 +02:00
Merge remote-tracking branch 'prototech/ticket/11869' into develop
* prototech/ticket/11869: [ticket/11869] Fix strict standards error when registering.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user