diff --git a/webapp/src/Service/ImportExportService.php b/webapp/src/Service/ImportExportService.php index 4391478194..889b0fc3b9 100644 --- a/webapp/src/Service/ImportExportService.php +++ b/webapp/src/Service/ImportExportService.php @@ -618,7 +618,7 @@ public function importGroupsJson(array $data, ?string &$message = null, ?array & 'visible' => !($group['hidden'] ?? false), 'sortorder' => @$group['sortorder'], 'color' => @$group['color'], - 'allow_self_registration' => @$group['allow_self_registration'], + 'allow_self_registration' => $group['allow_self_registration'] ?? false, ]; }