Skip to content

Commit

Permalink
Use array_keys to actually get the problem ID's when recalculating th…
Browse files Browse the repository at this point in the history
…e scoreboard.
  • Loading branch information
nickygerritsen committed Sep 19, 2023
1 parent a88ba4c commit 2be7100
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webapp/src/Service/RejudgingService.php
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ public function finishRejudging(Rejudging $rejudging, string $action, ?callable

// Now update the scoreboard
foreach ($scoreboardRowsToUpdate as $cid => $probids) {
$probids = array_keys($probids);
$contest = $this->em->getRepository(Contest::class)->find($cid);
$queryBuilder = $this->em->createQueryBuilder()
->from(Team::class, 't')
Expand Down

0 comments on commit 2be7100

Please sign in to comment.