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
Branches
Tags
No related merge requests found
...@@ -1246,6 +1246,8 @@ class Task extends TaskModel implements RestrictedAccess, Threadable { ...@@ -1246,6 +1246,8 @@ class Task extends TaskModel implements RestrictedAccess, Threadable {
$thisstaff); $thisstaff);
} }
$this->updated = SqlFunction::NOW();
if ($changes) if ($changes)
$this->logEvent('edited', array('fields' => $changes)); $this->logEvent('edited', array('fields' => $changes));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment