Skip to content

Commit

Permalink
Update webapp/src/Controller/PublicController.php
Browse files Browse the repository at this point in the history
Co-authored-by: MCJ Vasseur <[email protected]>
  • Loading branch information
nickygerritsen and vmcj authored Feb 28, 2025
1 parent dc7afcf commit 37c4033
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/Controller/PublicController.php
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ public function submissionsAction(Request $request, int $teamId, int $problemId)
}

/** @var Team|null $team */
$team = $this->em->getRepository(Team::class)->find($teamId);
$team = $this->em->getRepository(Team::class)->find($teamId);
if ($team && $team->getCategory() && !$team->getCategory()->getVisible()) {
$team = null;
}
Expand Down

0 comments on commit 37c4033

Please sign in to comment.