mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00: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:
commit
3585d167ad
1 changed files with 2 additions and 1 deletions
|
@ -281,8 +281,9 @@ function user_add($user_row, $cp_data = false)
|
||||||
include_once($phpbb_root_path . 'includes/functions_profile_fields.' . $phpEx);
|
include_once($phpbb_root_path . 'includes/functions_profile_fields.' . $phpEx);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$cp = new custom_profile();
|
||||||
$sql = 'INSERT INTO ' . PROFILE_FIELDS_DATA_TABLE . ' ' .
|
$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);
|
$db->sql_query($sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue