* finish task #6760.

This commit is contained in:
wangyidong
2019-12-16 17:00:05 +08:00
parent 714835adaf
commit a9f4bc8edd
4 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -299,7 +299,7 @@ class bug extends control
if(defined('RUN_MODE') && RUN_MODE == 'api') $this->send(array('status' => 'success', 'data' => $bugID));
setcookie('bugModule', (int)$this->post->module, 0, $this->config->webRoot, '', false, false);
setcookie('bugModule', 0, 0, $this->config->webRoot, '', false, false);
$location = $this->createLink('bug', 'browse', "productID={$this->post->product}&branch=$branch&browseType=unclosed&param=0&orderBy=id_desc");
if($this->app->getViewType() == 'xhtml') $location = $this->createLink('bug', 'view', "bugID=$bugID");
$response['locate'] = $location;