* [misc] exclude self.

This commit is contained in:
sunguangming
2025-04-14 10:41:30 +08:00
committed by 刘刚
parent 5b26f0fa98
commit faf36ff6a7
+1 -1
View File
@@ -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)
{