Merge branch 'sunhuawei_fixbug_15288' into 'master'

Sunhuawei fixbug 15288

See merge request easycorp/zentaopms!2675
This commit is contained in:
李玉春
2022-03-31 09:23:25 +00:00
+1 -1
View File
@@ -223,7 +223,7 @@ class testtask extends control
$task = $this->dao->findById($taskID)->from(TABLE_TESTTASK)->fetch();
if($this->app->tab == 'project') $link = $this->createLink('project', 'testtask', "projectID=$task->project");
if($this->app->tab == 'execution') $link = $this->createLink('execution', 'testtask', "executionID=$task->execution");
if($this->app->tab == 'qa') $link = $this->createLink('testtask', 'browse', "productID=$productID");
if($this->app->tab == 'qa') $link = $this->createLink('testtask', 'browse', "productID=" . $this->post->product);
return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => $link));
}