Skip to content

Commit 267cdc2

Browse files
committed
Fix when there is no contest selected/active
1 parent 1e629a7 commit 267cdc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webapp/src/Controller/Jury/JuryMiscController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ public function judgingVerifierAction(Request $request): Response
335335
'nomatch' => $nomatch,
336336
'earlier' => $earlier,
337337
'problems' => $problems,
338-
'contestId' => $this->dj->getCurrentContest()->getCid(),
338+
'contestId' => $this->dj->getCurrentContest()?->getCid(),
339339
'verifyMultiple' => $verifyMultiple,
340340
]);
341341
}

0 commit comments

Comments
 (0)