Merge branch 'feature/sync/timestamp' of https://github.com/MISP/MISP into feature/sync/timestamp

pull/217/head
iglocska 2013-06-11 14:06:35 +02:00
commit 5e3976b7bc
1 changed files with 1 additions and 0 deletions

View File

@ -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',