From 98491b954dd16bafb964e427fc9d1a440e2c0420 Mon Sep 17 00:00:00 2001 From: tanghucheng Date: Thu, 13 Jul 2023 15:37:27 +0800 Subject: [PATCH] * Fix bug #96546. --- module/programplan/model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/programplan/model.php b/module/programplan/model.php index 8b3874a389..163d66a572 100755 --- a/module/programplan/model.php +++ b/module/programplan/model.php @@ -1656,6 +1656,7 @@ class programplanModel extends model { if($parent->status != 'closed') { + if($project->model == 'ipd' and $parent->parent == $project->id) break; $newParent = $this->execution->buildExecutionByStatus('closed'); $parentAction = 'closedbychild'; }