From 26ba0fde3bec50acfd1b7c9303ffbaafddf080ba Mon Sep 17 00:00:00 2001 From: MCJ Vasseur <14887731+vmcj@users.noreply.github.com> Date: Tue, 31 Oct 2023 16:37:54 +0100 Subject: [PATCH] Update webapp/src/Service/ImportExportService.php Co-authored-by: Nicky Gerritsen --- webapp/src/Service/ImportExportService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, ]; }