* Fix bug #48421, removes duplicate projects.

This commit is contained in:
liumengyi
2024-04-25 13:58:51 +08:00
parent 3089e95041
commit e7051b2d2f
+1
View File
@@ -1450,6 +1450,7 @@ class testcaseModel extends model
if(empty($projects)) return false;
$this->loadModel('action');
$projects = array_unique($projects);
$objectInfo = $this->dao->select('*')->from(TABLE_PROJECT)->where('id')->in($projects)->fetchAll('id');
foreach($projects as $projectID)
{