[eluser]predat0r[/eluser]
I have an crud update method, which only updates the db table fields when I clear the input field (textarea) in the form, or modify the text inside. When I don't modify this field's content, so leave as is, the AR update() method doesn't run successful, the affected_rows() returns 0 / false.
I have only problem with this field.
the field has simple validation rule:
Code:
$this->form_validation->set_rules('description', 'Description', 'trim');
If I check the $_POST array after submitting the form, there are all the necessary datas, or if I check the last_query() method, the result is always the same, it has a formal correct query inside.
I have no error in mysql error log.
Of course I triple checked the typos, and it's not the first time I coded a crud, so don't have a clue..