From 2e6fe091bc3b326ef25dc1848d5c5cfc1da04f31 Mon Sep 17 00:00:00 2001 From: sunguangming Date: Tue, 13 May 2025 07:09:08 +0000 Subject: [PATCH] * [bug#62484,done,0.2h] fix bug. --- module/execution/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/execution/control.php b/module/execution/control.php index 1c6b1e38ba..18c36de196 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -1105,7 +1105,7 @@ class execution extends control if(!$isStage && !empty($this->view->execution) && $this->view->execution->type == 'stage') $isStage = true; if(!empty($project) && in_array($project->model, $this->config->project->waterfallList)) { - if($project->model == 'waterfall') $isStage = true; + if(in_array($project->model, $this->config->project->waterfallList) && !isset($output['type'])) $isStage = true; $parentStage = isset($output['parentStage']) ? $output['parentStage'] : 0; $type = isset($output['type']) ? $output['type'] : ''; if($parentStage)