Merge branch dev/bug-63505 of zentao/zentaopms (#9866)
This commit is contained in:
@@ -2434,9 +2434,9 @@ class testcaseZen extends testcase
|
||||
|
||||
helper::setcookie('caseModule', '0');
|
||||
|
||||
$currentModule = $this->app->tab == 'project' ? 'project' : 'testcase';
|
||||
$currentMethod = $this->app->tab == 'project' ? 'testcase' : 'browse';
|
||||
$projectParam = $this->app->tab == 'project' ? "projectID={$this->session->project}&" : '';
|
||||
$currentModule = $this->app->tab == 'qa' ? 'testcase' : $this->app->tab;
|
||||
$currentMethod = $this->app->tab == 'qa' ? 'browse' : 'testcase';
|
||||
$projectParam = $this->app->tab == 'qa' ? '' : "{$this->app->tab}ID=" . zget($_SESSION, $this->app->tab, 0) . '&';
|
||||
return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'load' => $this->createLink($currentModule, $currentMethod, "{$projectParam}productID={$productID}&branch={$branch}&browseType=all¶m=0&caseType=&orderBy=id_desc")));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user