Skip to content

Commit 675db71

Browse files
nickygerritsenvmcj
authored andcommitted
Use left join for affected judgings since they might not exist.
(cherry picked from commit 7c169ae)
1 parent 285ec9f commit 675db71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webapp/src/Controller/Jury/InternalErrorController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ public function handleAction(Request $request, ?Profiler $profiler, int $errorId
153153
/** @var InternalError $internalError */
154154
$internalError = $this->em->createQueryBuilder()
155155
->from(InternalError::class, 'e')
156-
->join('e.affectedJudgings', 'j')
156+
->leftJoin('e.affectedJudgings', 'j')
157157
->join('j.submission', 's')
158158
->join('j.contest', 'c')
159159
->join('s.team', 't')

0 commit comments

Comments
 (0)