* Modify the code.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user