Does anybody have problems with the automated timestamps?
When I create a new entry "updated" and "created" are filled with the same timestamp. But when I change one field of the entry the "updated" field is not changed.
What could be wrong?
Code:
$user = new User();
$user->where('username', $this->input->post('username'));
$user->update('password', $this->input->post('password'));
I tried to use this coding inside the User-modell but it didnt work either.
Any help?
In the configuration I set globally
$config['created_field'] = '_created';
$config['updated_field'] = '_updated';
Both fields exist (they are written on first save).