* Converts the id to an int.

This commit is contained in:
tianshujie
2023-08-22 15:41:43 +08:00
parent 16d85d9ad7
commit b9f2be5af5
+1 -1
View File
@@ -1216,7 +1216,7 @@ class programplanModel extends model
$parentIdList = array_reverse($parentIdList);
foreach($parentIdList as $id)
{
$parent = $this->execution->getByID($id);
$parent = $this->execution->getByID((int)$id);
if(empty($this->lang->execution->typeList[$parent->type]) || (!$isParent && $id == $stageID)) continue;
/** 获取子阶段关联开始任务数以及状态下子阶段数量。 */