diff --git a/module/task/control.php b/module/task/control.php index 2db77e96fd..77f87bb402 100755 --- a/module/task/control.php +++ b/module/task/control.php @@ -982,7 +982,7 @@ class task extends control /* 如果是父任务,先删除所有子任务 */ if($task->isParent) { - $childIdList = $this->task->getAllChildId($taskID); + $childIdList = $this->task->getAllChildId($taskID, false); $childTasks = $this->task->getByIdList($childIdList); foreach($childTasks as $childID => $childTask) {