Skip to content
Snippets Groups Projects
Commit d6dfa7a6 authored by JediKev's avatar JediKev
Browse files

tasks: Fix Task Updated Time

This addresses an issue where updating a Task does not change the
`updated` column in the database. This adds a line to change the `update`
column when updating a Task.
parent d2ef3b1f
No related branches found
No related tags found
No related merge requests found
......@@ -1246,6 +1246,8 @@ class Task extends TaskModel implements RestrictedAccess, Threadable {
$thisstaff);
}
$this->updated = SqlFunction::NOW();
if ($changes)
$this->logEvent('edited', array('fields' => $changes));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment