From ee9d70ca873639f09310bb6a75ec463b65be71a1 Mon Sep 17 00:00:00 2001 From: xia0ta0 Date: Fri, 9 Aug 2013 09:34:53 +0800 Subject: [PATCH] * fix bug locate. --- module/bug/control.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); }