diff --git a/module/bug/control.php b/module/bug/control.php index 17a0f4d7d5..202263928c 100644 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -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¶m={$this->post->module}"); + + $location = $this->createLink('bug', 'browse', "productID={$this->post->product}&type=byModule¶m={$this->post->module}"); + $response['locate'] = isset($_SESSION['bugList']) ? $this->session->bugList : $location; $this->send($response); }