diff --git a/module/programplan/control.php b/module/programplan/control.php index 28897a122e..f2b069761a 100644 --- a/module/programplan/control.php +++ b/module/programplan/control.php @@ -56,7 +56,7 @@ class programplan extends control /* 获取项目下产品并调整三级导航操作按钮。 */ $products = $this->loadModel('product')->getProducts($projectID); - if($this->session->hasProduct) $this->lang->modulePageNav = $this->product->select($products, $productID, 'programplan', 'browse', $type, 0, 0, '', false); + if($this->session->hasProduct) $this->lang->modulePageNav = $this->product->select($products, $productID, 'programplan', 'browse', $type, 0, false); /* 生成阶段列表页阶段数据。 */ $stages = $this->programplanZen->buildBrowseStages($projectID, $productID, $baselineID, $type, $orderBy); diff --git a/module/testtask/control.php b/module/testtask/control.php index 70f0c231c9..5858581d1b 100644 --- a/module/testtask/control.php +++ b/module/testtask/control.php @@ -168,7 +168,7 @@ class testtask extends control } $this->loadModel('project')->setMenu($projectID); - if(!$product->shadow) $this->lang->modulePageNav = $this->product->select($this->products, $productID, 'testtask', 'browseUnits', "projectID=$projectID", '', 0, '', false); + if(!$product->shadow) $this->lang->modulePageNav = $this->product->select($this->products, $productID, 'testtask', 'browseUnits', "projectID=$projectID", '', false); } else { @@ -372,7 +372,7 @@ class testtask extends control $this->lang->scrum->menu->qa['subMenu']->testcase['subModule'] = 'testtask'; $this->lang->scrum->menu->qa['subMenu']->testtask['subModule'] = ''; $this->loadModel('project')->setMenu($this->session->project); - $this->lang->modulePageNav = $this->product->select($this->products, $productID, 'testtask', 'browseUnits', '', '', 0, '', false); + $this->lang->modulePageNav = $this->product->select($this->products, $productID, 'testtask', 'browseUnits', '', '', false); } else { @@ -1526,7 +1526,7 @@ class testtask extends control $this->lang->scrum->menu->qa['subMenu']->testcase['subModule'] = 'testtask'; $this->lang->scrum->menu->qa['subMenu']->testtask['subModule'] = ''; $this->loadModel('project')->setMenu($this->session->project); - $this->lang->modulePageNav = $this->product->select($this->products, $productID, 'testtask', 'browseUnits', '', '', 0, '', false); + $this->lang->modulePageNav = $this->product->select($this->products, $productID, 'testtask', 'browseUnits', '', '', false); /* Replace language. */ $project = $this->project->getByID($this->session->project);