From 0f411fff216f4cd4b9d9d8312fb6a016d972f54e Mon Sep 17 00:00:00 2001 From: tianshujie Date: Fri, 5 Jan 2024 08:38:17 +0800 Subject: [PATCH] * Fix bug #43289. --- module/programplan/ui/create.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/programplan/ui/create.html.php b/module/programplan/ui/create.html.php index f142958896..94e07a64ca 100644 --- a/module/programplan/ui/create.html.php +++ b/module/programplan/ui/create.html.php @@ -130,7 +130,7 @@ $fnGenerateFields = function() use ($config, $lang, $requiredFields, $showFields } /* Field for agileplus. */ - if($name == 'type' && $planID != 0) + if($name == 'type' && !empty($planID) && in_array($project->model, array('waterfallplus', 'ipd'))) { $field['hidden'] = false; $field['items'] = $lang->execution->typeList;