X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/blobdiff_plain/9b5aab485913580c7cdf414f4d8157ae6aa4c4b4..278d1a543b80269a6eab5dbb2b9a2fa5037cef8d:/Repository/UserRepository.php?ds=inline 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