You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When deleting a database row the delete function returns true even if it failed. There doesn't seem to be any checking of the result of the delete and returns true/commits transaction regardless.
// Delete the object itself
$this->db->where('id', $this->id);
$this->db->delete($this->table);
// Complete auto transaction
$this->_auto_trans_complete('delete');
// Clear this object
$this->clear();
return TRUE;
The text was updated successfully, but these errors were encountered:
When deleting a database row the delete function returns true even if it failed. There doesn't seem to be any checking of the result of the delete and returns true/commits transaction regardless.
The text was updated successfully, but these errors were encountered: