X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/blobdiff_plain/9d8c6fb84e737fe94ca06dc7d957512a64d61a11..1d3181f07e807c246e1f8d627871871b9d2d0c5a:/Controller/AbstractController.php 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