Skip to content

Commit 9974cec

Browse files
committed
Don't set the empty string as we display it on the scoreboard
We state we fallback but would pick the empty string now,
1 parent 6782afc commit 9974cec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webapp/src/Service/ImportExportService.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -984,8 +984,8 @@ public function importTeamsJson(array $data, ?string &$message = null, ?array &$
984984
'icpcid' => $team['icpc_id'] ?? null,
985985
'label' => $team['label'] ?? null,
986986
'categoryid' => $team['group_ids'][0] ?? null,
987-
'name' => $team['name'] ?? '',
988-
'display_name' => $team['display_name'] ?? '',
987+
'name' => $team['name'] ?? null,
988+
'display_name' => $team['display_name'] ?? null,
989989
'publicdescription' => $team['public_description'] ?? $team['members'] ?? '',
990990
'location' => $team['location']['description'] ?? null,
991991
],

0 commit comments

Comments
 (0)