* fix bug locate.

This commit is contained in:
xia0ta0
2013-08-09 09:34:53 +08:00
parent 121ac9b2ff
commit ee9d70ca87
+3 -1
View File
@@ -238,7 +238,9 @@ class bug extends control
$actionID = $this->action->create('bug', $bugID, 'Opened');
$this->sendmail($bugID, $actionID);
$response['locate'] = $this->createLink('bug', 'browse', "productID={$this->post->product}&type=byModule&param={$this->post->module}");
$location = $this->createLink('bug', 'browse', "productID={$this->post->product}&type=byModule&param={$this->post->module}");
$response['locate'] = isset($_SESSION['bugList']) ? $this->session->bugList : $location;
$this->send($response);
}