* Fix get bug tree error.

This commit is contained in:
holan20180123
2021-03-19 09:02:01 +08:00
parent 09420abc9e
commit a24c58482e
-5
View File
@@ -636,11 +636,6 @@ class treeModel extends model
if($startModule) $startModulePath = $startModule->path . '%';
}
$manage = $userFunc[1] == 'createBugLink' ? true : false;
/* if not manage, only get linked modules and ignore others. */
if(!$manage) $executionModules = $this->getBugTreeModules($rootID, true);
/* Get module according to product. */
$productNum = count($products);
foreach($products as $id => $product)