]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Controller/AbstractController.php
Rename Command/Command in Command
[airbundle] / 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
-                                       '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