mirror of https://github.com/MISP/MISP
fix: [Attribute:EditPostProcessing] Make sure the ID is set
parent
c14c6efde0
commit
f8f02b053a
|
@ -2798,7 +2798,7 @@ class Attribute extends AppModel
|
||||||
// Let's recorrelate the event
|
// Let's recorrelate the event
|
||||||
foreach ($attributes as $attribute) {
|
foreach ($attributes as $attribute) {
|
||||||
if (!empty($attribute['_materialChange'])) {
|
if (!empty($attribute['_materialChange'])) {
|
||||||
$this->Correlation->generateCorrelation(false, $event['Event']['id'], $attribute['id']);
|
$this->Correlation->generateCorrelation(false, $event['Event']['id'], $attributeId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Instead of incrementing / decrementing the event
|
// Instead of incrementing / decrementing the event
|
||||||
|
|
Loading…
Reference in New Issue