mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-16 13:44:12 +02:00
Merge remote-tracking branch 'github-nickvergessen/ticket/12331' into develop-ascraeus
* github-nickvergessen/ticket/12331: [ticket/12331] Add functional test for saving custom profile fields [ticket/12331] Fix SQL error when inserting a new entry to profile field data
This commit is contained in:
@@ -231,6 +231,7 @@ class manager
|
||||
|
||||
if (!$this->db->sql_affectedrows())
|
||||
{
|
||||
$cp_data = $this->build_insert_sql_array($cp_data);
|
||||
$cp_data['user_id'] = (int) $user_id;
|
||||
|
||||
$this->db->sql_return_on_error(true);
|
||||
|
Reference in New Issue
Block a user