summaryrefslogtreecommitdiff
path: root/app/Action/TaskMoveColumnAssigned.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Action/TaskMoveColumnAssigned.php')
-rw-r--r--app/Action/TaskMoveColumnAssigned.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Action/TaskMoveColumnAssigned.php b/app/Action/TaskMoveColumnAssigned.php
index decf4b01..70ad7699 100644
--- a/app/Action/TaskMoveColumnAssigned.php
+++ b/app/Action/TaskMoveColumnAssigned.php
@@ -22,6 +22,7 @@ class TaskMoveColumnAssigned extends Base
{
return array(
Task::EVENT_ASSIGNEE_CHANGE,
+ Task::EVENT_UPDATE,
);
}
@@ -85,6 +86,6 @@ class TaskMoveColumnAssigned extends Base
*/
public function hasRequiredCondition(array $data)
{
- return $data['column_id'] == $this->getParam('src_column_id') && $data['owner_id'];
+ return $data['column_id'] == $this->getParam('src_column_id') && $data['owner_id'] > 0;
}
}