From 70612e93aa5860331a9193bff2efc8d1fb4d11d6 Mon Sep 17 00:00:00 2001 From: songchenxuan Date: Mon, 20 Dec 2021 13:55:22 +0800 Subject: [PATCH] *Fix bug #17563. --- 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 225dbd0b6d..106c116573 100644 --- a/module/testcase/control.php +++ b/module/testcase/control.php @@ -1756,7 +1756,7 @@ class testcase extends control $branches = array(); $this->loadModel('branch'); - if($product->type != 'normal') $branches = array(BRANCH_MAIN => $this->lang->branch->main) + $this->branch->getPairs($productID, '', $projectID); + if($product->type != 'normal') $branches = array(BRANCH_MAIN => $this->lang->branch->main) + $this->branch->getPairs($productID, 'active', $projectID); if($_POST) {