Rapsys Git
/
airbundle
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c812e77
)
Rename findIndexByGroupPseudonym function into findChoicesAsArray
author
Raphaël Gertz
<git@rapsys.eu>
Wed, 21 Feb 2024 11:15:43 +0000
(12:15 +0100)
committer
Raphaël Gertz
<git@rapsys.eu>
Wed, 21 Feb 2024 11:15:43 +0000
(12:15 +0100)
Controller/AbstractController.php
patch
|
blob
|
history
diff --git
a/Controller/AbstractController.php
b/Controller/AbstractController.php
index fc1d6992a3486f052447687c66c8a2c960d5db05..fe07f11877e677e9c554491a6c08b912167fd0ec 100644
(file)
--- 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)->find
IndexByGroupPseudonym
(),
+ 'user_choices' => $this->doctrine->getRepository(User::class)->find
ChoicesAsArray
(),
//Set default user to current
'user_default' => $this->getUser()->getId(),
//Set to session slot or evening by default