This commit is contained in:
2025-06-06 19:33:54 +02:00
parent f6715de330
commit e131d3b8d9
4 changed files with 33 additions and 33 deletions

View File

@@ -54,7 +54,7 @@ final class EliminationController extends AbstractController
$candidate = $candidateRepository->getCandidateByHash($elimination->getQuiz()->getSeason(), $candidateHash);
if (!$candidate instanceof Candidate) {
$this->addFlash(FlashType::Warning,
t('Cound not find candidate with name %name%', ['%name%' => Base64::base64UrlDecode($candidateHash)])->trans($this->translator)
t('Cound not find candidate with name %name%', ['%name%' => Base64::base64UrlDecode($candidateHash)])->trans($this->translator),
);
return $this->redirectToRoute('app_elimination', ['elimination' => $elimination->getId()]);