From 5cd9b7af3c72cfd6f53885fda8b69c63ec24b689 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Wed, 21 Feb 2024 12:15:43 +0100 Subject: [PATCH] Rename findIndexByGroupPseudonym function into findChoicesAsArray --- Controller/AbstractController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Controller/AbstractController.php b/Controller/AbstractController.php index fc1d699..fe07f11 100644 --- a/Controller/AbstractController.php +++ b/Controller/AbstractController.php @@ -376,7 +376,7 @@ abstract class AbstractController extends BaseAbstractController implements Serv //With user 'user' => $this->checker->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 to session slot or evening by default -- 2.41.0