Skip to content

Commit 42e4165

Browse files
ningitvmcj
authored andcommitted
Allow null display_name when importing teams.json, fixes #2666
1 parent b3cac2c commit 42e4165

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webapp/src/Service/ImportExportService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1012,7 +1012,7 @@ public function importTeamsJson(array $data, ?string &$message = null, ?array &$
10121012
'label' => $team['label'] ?? null,
10131013
'categoryid' => $team['group_ids'][0] ?? null,
10141014
'name' => $team['name'] ?? '',
1015-
'display_name' => $team['display_name'] ?? '',
1015+
'display_name' => $team['display_name'] ?? null,
10161016
'publicdescription' => $team['public_description'] ?? $team['members'] ?? '',
10171017
'location' => $team['location']['description'] ?? null,
10181018
],

0 commit comments

Comments
 (0)