diff options
Diffstat (limited to 'app/Action/TaskMoveColumnUnAssigned.php')
-rw-r--r-- | app/Action/TaskMoveColumnUnAssigned.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/Action/TaskMoveColumnUnAssigned.php b/app/Action/TaskMoveColumnUnAssigned.php index b773252d..2216c8d0 100644 --- a/app/Action/TaskMoveColumnUnAssigned.php +++ b/app/Action/TaskMoveColumnUnAssigned.php @@ -21,7 +21,8 @@ class TaskMoveColumnUnAssigned extends Base public function getCompatibleEvents() { return array( - Task::EVENT_ASSIGNEE_CHANGE + Task::EVENT_ASSIGNEE_CHANGE, + Task::EVENT_UPDATE, ); } @@ -85,6 +86,6 @@ class TaskMoveColumnUnAssigned 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; } } |