* testtask: filter the posted case id list.

This commit is contained in:
liugang
2023-08-14 15:33:44 +08:00
parent dfa1720c23
commit 20824f3b52
+1 -1
View File
@@ -1360,7 +1360,7 @@ class testtask extends control
}
if(!$this->post->caseIDList) return print(js::locate($url, 'parent'));
$caseIDList = array_unique($this->post->caseIDList);
$caseIDList = $this->loadModel('testcase')->filterIdList($this->post->caseIDList);
/* The case of tasks of qa. */
if($productID or ($this->app->tab == 'project' and empty($productID)))