From 269633eb6dadf43875789d95a75c073e0a7d030f Mon Sep 17 00:00:00 2001 From: songchenxuan Date: Fri, 19 Nov 2021 10:23:44 +0800 Subject: [PATCH] * Fix bug 16417. --- 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 034e347061..bcd14fc0a5 100644 --- a/module/testcase/control.php +++ b/module/testcase/control.php @@ -483,7 +483,7 @@ class testcase extends control $this->view->steps = $steps; $this->view->users = $this->user->getPairs('noletter|noclosed|nodeleted'); $this->view->branch = $branch; - $this->view->branches = $productInfo->type != 'normal' ? $this->loadModel('branch')->getPairs($productID) : array(); + $this->view->branches = $productInfo->type != 'normal' ? $this->loadModel('branch')->getPairs($productID, 'active') : array(); $this->display(); }