mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-23 01:51:31 +02:00
[ticket/12734] Remove unnecessary error supressing
PHPBB3-12734
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user