From a24c58482ed1957918cf482c1c8ed122dde8d980 Mon Sep 17 00:00:00 2001 From: holan20180123 <56391770@qq.com> Date: Fri, 19 Mar 2021 09:02:01 +0800 Subject: [PATCH] * Fix get bug tree error. --- module/tree/model.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/module/tree/model.php b/module/tree/model.php index 2a6b8f9e78..2b6ba00adf 100644 --- a/module/tree/model.php +++ b/module/tree/model.php @@ -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)