Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions webapp/src/Service/ImportExportService.php
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ public function getResultsData(
// Teams with 0 points won't get a medal, a rank or an honor.
// They will always get an honorable mention.
$data[] = new ResultRow(
$teamScore->team->getIcpcId(),
$teamScore->team->getIcpcId() ?? $teamScore->team->getExternalid(),
null,
'Honorable',
$teamScore->numPoints,
Expand Down Expand Up @@ -667,7 +667,7 @@ public function getResultsData(
}

$data[] = new ResultRow(
$teamScore->team->getIcpcId(),
$teamScore->team->getIcpcId() ?? $teamScore->team->getExternalid(),
$rank,
$awardString,
$teamScore->numPoints,
Expand Down
Loading