* adjust code.

This commit is contained in:
wangyidong
2018-11-19 14:43:49 +08:00
parent f9db113a0b
commit 4809e3d1ea
6 changed files with 7 additions and 6 deletions
+1
View File
@@ -688,6 +688,7 @@ class taskModel extends model
{
$this->dao->update(TABLE_TASK)->set('parent')->eq(-1)->where('id')->eq($task->parent)->exec();
$this->updateParentStatus($taskID);
$this->computeBeginAndEnd($task->parent);
}
$this->file->updateObjectID($this->post->uid, $taskID, 'task');
return common::createChanges($oldTask, $task);