diff options
Diffstat (limited to 'app/Action')
-rw-r--r-- | app/Action/TaskAssignColorOnDueDate.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Action/TaskAssignColorOnDueDate.php b/app/Action/TaskAssignColorOnDueDate.php index 06b70a18..791f0cff 100644 --- a/app/Action/TaskAssignColorOnDueDate.php +++ b/app/Action/TaskAssignColorOnDueDate.php @@ -74,7 +74,7 @@ class TaskAssignColorOnDueDate extends Base $results = array(); foreach ($data['tasks'] as $task) { - if ($task['date_due'] <= time() && $task['date_due'] > 0) { + if ($task['date_due'] <= time() && $task['date_due'] > 0 && $task['color_id'] != $this->getParam('color_id')) { $values = array( 'id' => $task['id'], 'color_id' => $this->getParam('color_id'), |