* Fix bug 16417.

This commit is contained in:
songchenxuan
2021-11-19 10:23:44 +08:00
parent 5e49c845e6
commit 269633eb6d
+1 -1
View File
@@ -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();
}