Hi
I would need to handle errors after updating an entry with callback update (and I will need also for new in callback_insert)
Basically, I want to create a new group for ION_AUTH using their API so instead of simply adding an entry to the table, I would like to use the callback to use the ion_auth->create_group method. This method returns FALSE in case an error occurs so I would need to handle that feedback from the method and show a message
Any idea?
$this->grocery_crud->callback_update(array($this,'grupo_change'));
.....
function grupo_change($post_array, $primary_key)
{
$updated = $this->ion_auth->update_group($primary_key,$post_array['name'],$post_array['description']);
if (!$updated)
{
}
}
