mirror of https://github.com/MISP/MISP
fix: [analyst-data:fetchAnalystDataBulk] Make sure to include all analyst-data type
parent
a55a19cd09
commit
62392fe540
|
@ -59,7 +59,7 @@ class AnalystDataParentBehavior extends ModelBehavior
|
|||
$this->{$type} = ClassRegistry::init($type);
|
||||
$this->{$type}->fetchRecursive = !empty($model->includeAnalystDataRecursive);
|
||||
$temp = $this->{$type}->fetchForUuids($uuid_chunk, $this->__currentUser);
|
||||
$results = array_merge($results, $temp);
|
||||
$results = array_merge_recursive($results, $temp);
|
||||
}
|
||||
}
|
||||
return $results;
|
||||
|
|
Loading…
Reference in New Issue