This commit is contained in:
mayue
2021-11-19 09:59:01 +08:00
parent 098a6e7a6a
commit 926e2e853d
+1 -1
View File
@@ -481,7 +481,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 = $this->session->currentProductType != 'normal' ? $this->loadModel('branch')->getPairs($productID) : array();
$this->view->branches = $this->session->currentProductType != 'normal' ? $this->loadModel('branch')->getPairs($productID, 'active') : array();
$this->display();
}