* Fix a bug.

This commit is contained in:
hufangzhou
2021-03-25 10:53:27 +08:00
parent 89a5416c45
commit 7af7034f02
+1
View File
@@ -42,6 +42,7 @@ class testcase extends control
$this->loadModel('qa');
$this->view->products = $this->products = $this->product->getPairs();
if($this->app->openApp == 'project') $this->view->products = $this->products = $this->loadModel('project')->getProducts($this->session->project, false);
if(empty($this->products)) die($this->locate($this->createLink('product', 'showErrorNone', "fromModule=testcase")));
}