* testcaseModel: return false if the $type paramter is empty.
This commit is contained in:
@@ -1369,6 +1369,8 @@ class testcaseModel extends model
|
||||
*/
|
||||
public function batchChangeType(array $caseIdList, string $type): bool
|
||||
{
|
||||
if(!$type) return false;
|
||||
|
||||
$caseIdList = array_filter($caseIdList);
|
||||
if(!$caseIdList) return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user