* code for bug #23516.
This commit is contained in:
@@ -365,7 +365,6 @@ class bug extends control
|
||||
if(!empty($_POST))
|
||||
{
|
||||
$response['result'] = 'success';
|
||||
$response['message'] = $this->lang->saveSuccess;
|
||||
|
||||
/* Set from param if there is a object to transfer bug. */
|
||||
setcookie('lastBugModule', (int)$this->post->module, $this->config->cookieLife, $this->config->webRoot, '', $this->config->cookieSecure, false);
|
||||
@@ -450,7 +449,8 @@ class bug extends control
|
||||
$location = $this->createLink('bug', 'browse', "productID={$this->post->product}&branch=$branch&browseType=byModule¶m={$this->post->module}&orderBy=id_desc");
|
||||
}
|
||||
if($this->app->getViewType() == 'xhtml') $location = $this->createLink('bug', 'view', "bugID=$bugID", 'html');
|
||||
$response['locate'] = $location;
|
||||
$response['message'] = $this->lang->saveSuccess;
|
||||
$response['locate'] = $location;
|
||||
return $this->send($response);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user