This commit is contained in:
holan20180123
2021-03-15 09:10:55 +08:00
parent af2eb3d245
commit 8348604d9c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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');