From 596f71a3c3d7c3532d9d408d1bb5b894610bcbf6 Mon Sep 17 00:00:00 2001 From: sunguangming Date: Wed, 11 Jun 2025 06:47:57 +0000 Subject: [PATCH] * [bug#63210,done,0.2h] fix bug. --- module/programplan/ui/gantt.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/programplan/ui/gantt.html.php b/module/programplan/ui/gantt.html.php index 6cd5a9c1ee..b4b5dd0b3d 100644 --- a/module/programplan/ui/gantt.html.php +++ b/module/programplan/ui/gantt.html.php @@ -18,7 +18,7 @@ include './ganttfields.html.php'; if($app->rawModule == 'programplan') { $productDropdown = null; - if($project->stageBy == 'product') + if($project->stageBy == 'product' && empty($project->isTpl)) { $viewName = $productID != 0 ? zget($productList, $productID) : $lang->product->allProduct; $items = array(array('text' => $lang->product->allProduct, 'url' => $this->createLink('programplan', 'browse', "projectID=$projectID&productID=0&type=gantt"), 'active' => $productID == 'all' || $productID == '0'));