* Finish task#36357.

This commit is contained in:
leiyong
2021-03-25 18:00:10 +08:00
parent 65da8c5066
commit 17180656c7
10 changed files with 91 additions and 87 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ class qa extends control
public function index($locate = 'auto', $productID = 0, $projectID = 0)
{
$products = $this->loadModel('product')->getProductPairsByProject($projectID, 'noclosed');
if(empty($products)) die($this->locate($this->createLink('product', 'showErrorNone', 'fromModule=qa&moduleGroup=' . $this->lang->navGroup->qa . '&activeMenu=index')));
if(empty($products)) die($this->locate($this->createLink('product', 'showErrorNone', "moduleName=qa&activeMenu=index")));
if($locate == 'yes') $this->locate($this->createLink('bug', 'browse'));
$productID = $this->product->saveState($productID, $products);