mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/12734] Remove unnecessary error supressing
PHPBB3-12734
This commit is contained in:
parent
b2a28962bc
commit
fcd2a2f186
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 = $this->build_insert_sql_array($cp_data);
|
||||||
$cp_data['user_id'] = (int) $user_id;
|
$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);
|
$sql = 'INSERT INTO ' . $this->fields_data_table . ' ' . $this->db->sql_build_array('INSERT', $cp_data);
|
||||||
$this->db->sql_query($sql);
|
$this->db->sql_query($sql);
|
||||||
|
|
||||||
$this->db->sql_return_on_error(false);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue