X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/cc3ccf81c83b93069a350f327f6c4ee242d563e1..a757829e29ebf56e43a97a27b454e9071a70a1ed:/Controller/ApplicationController.php

diff --git a/Controller/ApplicationController.php b/Controller/ApplicationController.php
index 5a787dc..39e06eb 100644
--- a/Controller/ApplicationController.php
+++ b/Controller/ApplicationController.php
@@ -104,7 +104,7 @@ class ApplicationController extends AbstractController {
 			//With user
 			'user' => $this->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 default slot to evening