* [misc] exclude self.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user