* testtask: it's necessary to call filterIdList method of testcaseModel.

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