From f8def0707202462d40e1a4b6f0db4a053544e26c Mon Sep 17 00:00:00 2001 From: tianshujie Date: Fri, 28 Feb 2025 15:56:30 +0800 Subject: [PATCH] * [bug#60141,done,0.5h] watfall project isn't show percent field error. --- module/execution/control.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/execution/control.php b/module/execution/control.php index fbb9c73d1f..5413b388d4 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -1097,6 +1097,7 @@ class execution extends control $isStage = isset($output['type']) && $output['type'] == 'stage'; if(!empty($project) && in_array($project->model, $this->config->project->waterfallList)) { + if($project->model == 'waterfall') $isStage = true; $this->view->parentStage = isset($output['parentStage']) ? $output['parentStage'] : 0; $this->view->parentStages = $this->loadModel('programplan')->getParentStageList($projectID, 0, 0, 'withparent|noclosed|' . ($isStage ? 'stage' : 'notstage')); }