From dc36fb48fed6b0e66ebeeaf53bc1c629bfd4ca67 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Sat, 16 Dec 2023 17:06:23 +0800 Subject: [PATCH] * Fix bug #41390. --- 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 ccf18c9cc9..dcde750517 100644 --- a/module/programplan/ui/create.html.php +++ b/module/programplan/ui/create.html.php @@ -42,7 +42,7 @@ $fnGenerateStageByProductList = function() use ($productID, $productList, $proje /* Generate checkboxes for sub-stage management. */ $fnGenerateSubPlanManageFields = function() use ($lang, $planID, $project, $executionType) { - if(empty($planID) || in_array($project->model, array('waterfallplus', 'ipd'))) return div(); + if(empty($planID) || !in_array($project->model, array('waterfallplus', 'ipd'))) return div(); $typeList = $project->model == 'ipd' ? $lang->stage->ipdTypeList : $lang->programplan->typeList;