* Modify the code.

This commit is contained in:
tianshujie
2022-01-18 10:02:40 +08:00
parent 1642b2b63f
commit a66f16dae6
+1 -1
View File
@@ -1609,7 +1609,7 @@ class taskModel extends model
if($task->parent > 0) $this->updateParentStatus($task->id);
if($task->story) $this->loadModel('story')->setStage($task->story);
$this->loadModel('kanban')->updateLane($task->execution, 'task', $taskID);
if(isset($data->status) and $task->status != $data->status) $this->loadModel('kanban')->updateLane($task->execution, 'task', $taskID);
if($task->status == 'done' and !dao::isError()) $this->loadModel('score')->create('task', 'finish', $taskID);
return $changes;