[eluser]Lowkase[/eluser]
Well,
I am stumped on this one, here is calling code:
// Start MySQL Transaction
$this->db->trans_start();
// Delete the color from the color table
$this->colors_model->delete($color_id);
// OTHER CALLS TO MODELS
// Complete the MySQL Transaction
$this->db->trans_complete();
Here is the delete function in the colors_model:
// DELETE
function delete($id)
{
$this->db->delete( 'colors', array('id' => $id) );
}
Active record deletes the specific ID I am passing to the function, however, somehow, ActiveRecord is deleting the FIRST record from the same table as well.
There is one other place in the code that I call the delete function in the colors_model but it does not produce the same "buggy" result.
Anyone ever run into this situation?
Thanks,
Lokase