From d6dfa7a65e917e9f4c4c2744d4951bd5871baaeb Mon Sep 17 00:00:00 2001 From: JediKev <kevin@enhancesoft.com> Date: Tue, 8 Aug 2017 10:42:54 -0500 Subject: [PATCH] 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. --- include/class.task.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/class.task.php b/include/class.task.php index 4b98ff1d4..5279dc8c7 100644 --- a/include/class.task.php +++ b/include/class.task.php @@ -1246,6 +1246,8 @@ class Task extends TaskModel implements RestrictedAccess, Threadable { $thisstaff); } + $this->updated = SqlFunction::NOW(); + if ($changes) $this->logEvent('edited', array('fields' => $changes)); -- GitLab