mirror of https://github.com/MISP/MISP
fix: [internal] Attach correlation exclusion just when correlations are requested
parent
ed6dc118c4
commit
f59e7a5090
|
@ -2068,7 +2068,9 @@ class Event extends AppModel
|
|||
$event['Attribute'] = $this->__attachSharingGroups($event['Attribute'], $sharingGroupData);
|
||||
}
|
||||
|
||||
$event['Attribute'] = $this->Attribute->Correlation->attachCorrelationExclusion($event['Attribute']);
|
||||
if (!empty($options['includeGranularCorrelations'])) {
|
||||
$event['Attribute'] = $this->Attribute->Correlation->attachCorrelationExclusion($event['Attribute']);
|
||||
}
|
||||
|
||||
// move all object attributes to a temporary container
|
||||
$tempObjectAttributeContainer = array();
|
||||
|
|
Loading…
Reference in New Issue