mirror of https://github.com/MISP/MISP
Merge branch 'feature/sync/timestamp' of https://github.com/MISP/MISP into feature/sync/timestamp
commit
5e3976b7bc
|
@ -345,6 +345,7 @@ class Event extends AppModel {
|
|||
foreach ($correlations as $correlation) {
|
||||
$relatedEventIds[] = $correlation['Correlation']['event_id'];
|
||||
}
|
||||
$relatedEventIds = array_unique($relatedEventIds);
|
||||
// now look up the event data for these attributes
|
||||
$conditions = array("Event.id" => $relatedEventIds);
|
||||
$relatedEvents = $this->find('all',
|
||||
|
|
Loading…
Reference in New Issue