summaryrefslogtreecommitdiff
path: root/app/Model
diff options
context:
space:
mode:
Diffstat (limited to 'app/Model')
-rw-r--r--app/Model/TaskModification.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/TaskModification.php b/app/Model/TaskModification.php
index 5f0fd074..a0ad292c 100644
--- a/app/Model/TaskModification.php
+++ b/app/Model/TaskModification.php
@@ -52,7 +52,7 @@ class TaskModification extends Base
if ($this->isFieldModified('owner_id', $event_data['changes'])) {
$events[] = Task::EVENT_ASSIGNEE_CHANGE;
- } else {
+ } elseif (! empty($event_data['changes'])) {
$events[] = Task::EVENT_CREATE_UPDATE;
$events[] = Task::EVENT_UPDATE;
}