From ec0faba8082e6a95e909508cb84c5255a9e70cec Mon Sep 17 00:00:00 2001 From: tianshujie Date: Thu, 21 Apr 2022 15:59:45 +0800 Subject: [PATCH] * Fix bug #18060. --- module/testcase/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/testcase/control.php b/module/testcase/control.php index dc570845a5..b986bd54ab 100644 --- a/module/testcase/control.php +++ b/module/testcase/control.php @@ -1913,7 +1913,7 @@ class testcase extends control $caseLang = $this->lang->testcase; $caseConfig = $this->config->testcase; - $branches = $this->loadModel('branch')->getPairs($productID); + $branches = $this->loadModel('branch')->getPairs($productID, 'active'); $stories = $this->loadModel('story')->getProductStoryPairs($productID, $branch); $fields = $this->testcase->getImportFields($productID); $fields = array_flip($fields);