* Fix the problem of creating bugs.

This commit is contained in:
tianshujie98
2021-03-12 09:48:11 +08:00
parent 95fc092deb
commit 1f52d98c8b
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -157,7 +157,7 @@ class bug extends control
$productIDList = $productID ? $productID : array_keys($this->products);
/* Get bugs. */
$bugs = $this->bug->getBugs($productIDList, $executions, $branch, $browseType, $moduleID, $queryID, $sort, $pager, $this->session->PRJ);
$bugs = $this->bug->getBugs($productIDList, $executions, $branch, $browseType, $moduleID, $queryID, $sort, $pager, $this->projectID);
/* Process the sql, get the conditon partion, save it to session. */
$this->loadModel('common')->saveQueryCondition($this->dao->get(), 'bug', $browseType == 'needconfirm' ? false : true);