From 620a9cd3d22fef5274deb3ffa43ac128ccba29cc Mon Sep 17 00:00:00 2001 From: wangyuting Date: Fri, 11 Apr 2025 10:33:09 +0800 Subject: [PATCH] * [bug#39515,done,1h,0h] Fix parent stage is not closed when the close child stage. --- module/programplan/tao.php | 1 - 1 file changed, 1 deletion(-) diff --git a/module/programplan/tao.php b/module/programplan/tao.php index 21e135b540..abec6aee24 100644 --- a/module/programplan/tao.php +++ b/module/programplan/tao.php @@ -159,7 +159,6 @@ class programplanTao extends programplanModel elseif(isset($statusCount['closed']) && $count == 1) { if($parent->status == 'closed') return array('newParent' => null, 'parentAction' => ''); - if($project->model == 'ipd' and $parent->parent == $project->id) return array('newParent' => null, 'parentAction' => ''); $newParent = $this->execution->buildExecutionByStatus('closed'); $parentAction = 'closedbychild';