fix: [Event] Correctly save references after sync

pull/7052/head
mokaddem 2021-02-18 15:02:22 +01:00
parent b3e90968bc
commit a225ac4483
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 1 additions and 0 deletions

View File

@ -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;