diff --git a/app/Model/SharingGroup.php b/app/Model/SharingGroup.php index e985fcf31..fed701b99 100644 --- a/app/Model/SharingGroup.php +++ b/app/Model/SharingGroup.php @@ -618,6 +618,7 @@ class SharingGroup extends AppModel if ($existingCaptureResult !== true) { return $existingCaptureResult; } + $sg_id = $existingSG['SharingGroup']['id']; $forceUpdate = true; } unset($sg['Organisation']);