Merge branch 'zentaopms_258_bug#29709' into 'master'

* Fix bug #29709.

See merge request easycorp/zentaopms!6133
This commit is contained in:
王怡栋
2022-11-14 07:03:44 +00:00
+1 -1
View File
@@ -31,7 +31,7 @@ class testsuite extends control
{
parent::__construct($moduleName, $methodName);
$this->view->products = $this->products = $this->loadModel('product')->getPairs();
$this->view->products = $this->products = $this->loadModel('product')->getPairs('', 0, '', 'all');
if(empty($this->products) and !helper::isAjaxRequest()) return print($this->locate($this->createLink('product', 'showErrorNone', "moduleName=qa&activeMenu=testsuite")));
}