From 2de9e441eb89a3d4d8fa4384b2092c94519fcaea Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Wed, 21 Feb 2024 12:16:58 +0100 Subject: [PATCH] Rename findIndexByGroupPseudonym function in findChoicesAsArray --- Controller/ApplicationController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Controller/ApplicationController.php b/Controller/ApplicationController.php index 5a787dc..39e06eb 100644 --- a/Controller/ApplicationController.php +++ b/Controller/ApplicationController.php @@ -104,7 +104,7 @@ class ApplicationController extends AbstractController { //With user 'user' => $this->isGranted('ROLE_ADMIN'), //Set user choices - 'user_choices' => $this->doctrine->getRepository(User::class)->findIndexByGroupPseudonym(), + 'user_choices' => $this->doctrine->getRepository(User::class)->findChoicesAsArray(), //Set default user to current 'user_default' => $this->getUser()->getId(), //Set default slot to evening -- 2.41.1