* [bug#63210,done,0.2h] fix bug.

This commit is contained in:
sunguangming
2025-06-11 06:47:57 +00:00
parent de087262a5
commit 596f71a3c3
+1 -1
View File
@@ -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'));