* finish task #6760.
This commit is contained in:
@@ -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¶m=0&orderBy=id_desc");
|
||||
if($this->app->getViewType() == 'xhtml') $location = $this->createLink('bug', 'view', "bugID=$bugID");
|
||||
$response['locate'] = $location;
|
||||
|
||||
Reference in New Issue
Block a user