X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/3b7129d4925b8ade812f3e2100da9640f1ebb49e..ad50ac76c788693925aa4d30fa5ebad4beca62db:/Repository/UserRepository.php diff --git a/Repository/UserRepository.php b/Repository/UserRepository.php index cc51ea0..0d0ee4e 100644 --- a/Repository/UserRepository.php +++ b/Repository/UserRepository.php @@ -85,7 +85,7 @@ class UserRepository extends \Doctrine\ORM\EntityRepository { //Process result foreach($res as $data) { //Get translated group - $group = $translator->trans($data['g_title']?:'ROLE_USER'); + $group = $translator->trans($data['g_title']?:'User'); //Get translated title $title = $translator->trans($data['t_short']); //Init group subarray