* Finish bug#3488.

This commit is contained in:
hufangzhou
2020-09-28 11:30:22 +08:00
parent b787f19a23
commit da36997ef6
+2 -2
View File
@@ -429,7 +429,7 @@ class bug extends control
}
$moduleID = $moduleID ? $moduleID : (int)$this->cookie->lastBugModule;
$moduleID = $moduleID ? $moduleID : 0;
$moduleOwner = $this->bug->getModuleOwner($moduleID, $productID);
/* Set team members of the latest project as assignedTo list. */
@@ -465,7 +465,7 @@ class bug extends control
$this->view->stories = $stories;
$this->view->projects = $this->product->getProjectPairs($productID, $branch ? "0,$branch" : 0, $params = 'nodeleted');
$this->view->builds = $builds;
$this->view->moduleID = $moduleID ? $moduleID : (int)$this->cookie->lastBugModule;
$this->view->moduleID = $moduleID ? $moduleID : 0;
$this->view->projectID = $projectID;
$this->view->taskID = $taskID;
$this->view->storyID = $storyID;