From: Raphaƫl Gertz Date: Wed, 21 Feb 2024 11:15:43 +0000 (+0100) Subject: Rename findIndexByGroupPseudonym function into findChoicesAsArray X-Git-Tag: 0.3.0~81 X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/5cd9b7af3c72cfd6f53885fda8b69c63ec24b689?ds=sidebyside Rename findIndexByGroupPseudonym function into findChoicesAsArray --- 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