* Finish task #6323.

This commit is contained in:
Yagami
2019-09-02 09:40:28 +08:00
parent 56173821a7
commit 83fcc6b265
+2 -1
View File
@@ -1336,7 +1336,8 @@ class projectModel extends model
}
$data->status = $task->consumed > 0 ? 'doing' : 'wait';
$this->dao->update(TABLE_TASK)->data($data)->where('id')->in($this->post->tasks)->orWhere('parent')->in($this->post->tasks)->exec();
$this->dao->update(TABLE_TASK)->data($data)->where('id')->in($this->post->tasks)->exec();
$this->dao->update(TABLE_TASK)->set('project')->eq($projectID)->where('parent')->in($this->post->tasks)->exec();
$this->loadModel('action')->create('task', $task->id, 'moved', '', $task->project);
}