*Fix reactive bug.

This commit is contained in:
songchenxuan
2022-01-11 14:45:19 +08:00
parent 891686e8f9
commit 6667a3c19a

View File

@@ -174,7 +174,8 @@ class testreportModel extends model
foreach($allBugs as $bug)
{
if(!empty(array_intersect(explode(',', $bug->openedBuild), $buildIdList))) $buildBugs[$bug->id] = $bug;
$intersect = array_intersect(explode(',', $bug->openedBuild), $buildIdList);
if(!empty($intersect)) $buildBugs[$bug->id] = $bug;
}
/* Get bug reactivated actions during the testreport. */