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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy