From 2be71002b050e04a6ba9164e258d93da06344b58 Mon Sep 17 00:00:00 2001 From: Nicky Gerritsen Date: Tue, 19 Sep 2023 11:23:27 -0400 Subject: [PATCH] Use array_keys to actually get the problem ID's when recalculating the scoreboard. --- webapp/src/Service/RejudgingService.php | 1 + 1 file changed, 1 insertion(+) diff --git a/webapp/src/Service/RejudgingService.php b/webapp/src/Service/RejudgingService.php index 427a91b96a..cc1a7db5cc 100644 --- a/webapp/src/Service/RejudgingService.php +++ b/webapp/src/Service/RejudgingService.php @@ -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')