From 8348604d9cc3a8c32307205fe87ed65337e6d138 Mon Sep 17 00:00:00 2001 From: holan20180123 <56391770@qq.com> Date: Mon, 15 Mar 2021 09:10:55 +0800 Subject: [PATCH] * Fix task #36447. --- module/bug/model.php | 2 +- module/bug/view/browse.html.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/bug/model.php b/module/bug/model.php index c91547fc9e..569dd644fb 100644 --- a/module/bug/model.php +++ b/module/bug/model.php @@ -1250,7 +1250,7 @@ class bugModel extends model /* Get all modules. */ $modules = array(); $this->loadModel('tree'); - if($productID) $modules = $this->tree->getOptionMenu($productID, 'bug', 0, $branch); + if($productID) $modules = $this->tree->getOptionMenu($productID, 'bug', 0); if(!$productID) { foreach($products as $id => $productName) $modules += $this->tree->getOptionMenu($id, 'bug'); diff --git a/module/bug/view/browse.html.php b/module/bug/view/browse.html.php index d18459ca68..c5611f056c 100644 --- a/module/bug/view/browse.html.php +++ b/module/bug/view/browse.html.php @@ -169,7 +169,7 @@ $currentBrowseType = isset($lang->bug->mySelects[$browseType]) && in_array($brow
- lang->navGroup->bug}", $lang->tree->manage, '', "class='btn btn-info btn-wide'");?> + lang->navGroup->bug}", $lang->tree->manage, '', "class='btn btn-info btn-wide'");?>