]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Repository/UserRepository.php
Add user.view function
[airbundle] / Repository / UserRepository.php
index cc51ea088d565510b1a753dfb8722afdeddabcd1..0d0ee4e45e2ff35c06e0da72be4922cf6f80219f 100644 (file)
@@ -85,7 +85,7 @@ class UserRepository extends \Doctrine\ORM\EntityRepository {
                //Process result
                foreach($res as $data) {
                        //Get translated group
                //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
                        //Get translated title
                        $title = $translator->trans($data['t_short']);
                        //Init group subarray