* Merge #7ff20381bb,Make IPD project like waterfallplus project.

This commit is contained in:
tanghucheng
2023-11-07 01:32:04 -05:00
parent d97f5f246e
commit 155b852e40
+1 -1
View File
@@ -106,7 +106,7 @@ class programplan extends control
if($executionType != 'stage') unset($this->lang->execution->typeList[''], $this->lang->execution->typeList['stage']);
$plans = $this->programplan->getStage($planID ?: $projectID, $this->productID, 'parent', 'order_asc');
if(!empty($planID) && $project->model == 'waterfallplus')
if(!empty($planID) and in_array($project->model, array('ipd', 'waterfallplus')))
{
if(!empty($plans))
{