summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ee389cd)
Enable users without group to fallback to this translated group title
//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