mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus: [ticket/12734] Remove unnecessary error supressing
This commit is contained in:
commit
93fbc468fb
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