mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-12 06:18:52 +00:00
Merge pull request #2941 from Senky/ticket/12734
[ticket/12734] Custom profile manager should not suppress errors when inserting user rows * Senky/ticket/12734: [ticket/12734] Remove unnecessary error supressing
This commit is contained in:
commit
f26b6b6251
1 changed files with 3 additions and 7 deletions
|
@ -245,12 +245,8 @@ class manager
|
|||
$cp_data = $this->build_insert_sql_array($cp_data);
|
||||
$cp_data['user_id'] = (int) $user_id;
|
||||
|
||||
$this->db->sql_return_on_error(true);
|
||||
|
||||
$sql = 'INSERT INTO ' . $this->fields_data_table . ' ' . $this->db->sql_build_array('INSERT', $cp_data);
|
||||
$this->db->sql_query($sql);
|
||||
|
||||
$this->db->sql_return_on_error(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue