From 8b10bbb6f95a543bcffb5ee478c4008503c858ec Mon Sep 17 00:00:00 2001 From: liugang Date: Tue, 15 Aug 2023 16:30:31 +0800 Subject: [PATCH] * testtask: it's necessary to call filterIdList method of testcaseModel. --- module/testtask/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/testtask/control.php b/module/testtask/control.php index 9fb1dd9f74..7c3b95386d 100644 --- a/module/testtask/control.php +++ b/module/testtask/control.php @@ -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)))