* Fix task #36447.
This commit is contained in:
@@ -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');
|
||||
|
||||
@@ -169,7 +169,7 @@ $currentBrowseType = isset($lang->bug->mySelects[$browseType]) && in_array($brow
|
||||
<?php endif;?>
|
||||
<?php echo $moduleTree;?>
|
||||
<div class="text-center">
|
||||
<?php common::printLink('tree', 'browse', "productID=$productID&view=bug¤tModuleID=0&branch=0&from={$this->lang->navGroup->bug}", $lang->tree->manage, '', "class='btn btn-info btn-wide'");?>
|
||||
<?php if($productID) common::printLink('tree', 'browse', "productID=$productID&view=bug¤tModuleID=0&branch=0&from={$this->lang->navGroup->bug}", $lang->tree->manage, '', "class='btn btn-info btn-wide'");?>
|
||||
<hr class="space-sm" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user