Skip to content

Commit

Permalink
Use public_description field for teams
Browse files Browse the repository at this point in the history
Fallback to legacy members attribute

fixes #2185
  • Loading branch information
vmcj committed Nov 11, 2023
1 parent 51703d5 commit d948a73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/Service/ImportExportService.php
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,7 @@ public function importTeamsJson(array $data, ?string &$message = null, ?array &$
'categoryid' => $team['group_ids'][0] ?? null,
'name' => @$team['name'],
'display_name' => @$team['display_name'],
'publicdescription' => @$team['members'],
'publicdescription' => $team['public_description'] ?? @$team['members'],
'room' => @$team['room'],
],
'team_affiliation' => [
Expand Down

0 comments on commit d948a73

Please sign in to comment.