]> Raphaël G. Git Repositories - airbundle/commitdiff
Rename findIndexByGroupPseudonym function into findChoicesAsArray
authorRaphaël Gertz <git@rapsys.eu>
Wed, 21 Feb 2024 11:15:43 +0000 (12:15 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Wed, 21 Feb 2024 11:15:43 +0000 (12:15 +0100)
Controller/AbstractController.php

index fc1d6992a3486f052447687c66c8a2c960d5db05..fe07f11877e677e9c554491a6c08b912167fd0ec 100644 (file)
@@ -376,7 +376,7 @@ abstract class AbstractController extends BaseAbstractController implements Serv
                                        //With user
                                        'user' => $this->checker->isGranted('ROLE_ADMIN'),
                                        //Set user choices
                                        //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
                                        //Set default user to current
                                        'user_default' => $this->getUser()->getId(),
                                        //Set to session slot or evening by default