* [bug#39515,done,1h,0h] Fix parent stage is not closed when the close child stage.

This commit is contained in:
wangyuting
2025-04-14 10:41:30 +08:00
committed by 刘刚
parent 09da6a1525
commit 620a9cd3d2
-1
View File
@@ -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';