* 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
@@ -243,7 +243,7 @@ class testcase extends control
/* If link from no head then reload. */
if(isonlybody()) $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'closeModal' => true));
setcookie('caseModule', (int)$this->post->module, 0, $this->config->webRoot, '', false, false);
setcookie('caseModule', 0, 0, $this->config->webRoot, '', false, false);
$response['locate'] = $this->createLink('testcase', 'browse', "productID={$this->post->product}&branch={$this->post->branch}&browseType=all&param=0&orderBy=id_desc");
$this->send($response);
}