mirror of https://github.com/MISP/MISP
fix: [Event] Correctly save references after sync
parent
b3e90968bc
commit
a225ac4483
|
@ -4104,6 +4104,7 @@ class Event extends AppModel
|
|||
if (isset($object['ObjectReference'])) {
|
||||
foreach ($object['ObjectReference'] as $objectRef) {
|
||||
$nothingToChange = false;
|
||||
$objectRef['source_uuid'] = $object['uuid'];
|
||||
$result = $this->Object->ObjectReference->captureReference($objectRef, $this->id, $user, $this->Log, $force, $nothingToChange);
|
||||
if ($result && !$nothingToChange) {
|
||||
$changed = true;
|
||||
|
|
Loading…
Reference in New Issue