From b8124e12f492335e82412fcf6b92aaa5c7110b66 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Thu, 21 Jul 2022 11:27:55 +0800 Subject: [PATCH] * Fix bug #25435. --- module/testcase/control.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/module/testcase/control.php b/module/testcase/control.php index b35fe7ffdd..3af8e4fe59 100644 --- a/module/testcase/control.php +++ b/module/testcase/control.php @@ -911,11 +911,7 @@ class testcase extends control } $moduleIdList = $case->module; - if($case->module) - { - $moduleIdList = $this->loadModel->tree->getStoryModule($case->module); - $moduleIdList = $this->tree->getAllChildID($case->module); - } + if($case->module) $moduleIdList = $this->tree->getAllChildID($case->module); $this->view->productID = $productID; $this->view->product = $product;