Fixed the lost name of group. Ticket #1419
This commit is contained in:
parent
494176761b
commit
fa3578d35e
|
@ -392,7 +392,10 @@ if ($result === false) {
|
||||||
|
|
||||||
foreach ($result as $profile) {
|
foreach ($result as $profile) {
|
||||||
$data[0] = '<b>'.profile_get_name ($profile["id_perfil"]).'</b>';
|
$data[0] = '<b>'.profile_get_name ($profile["id_perfil"]).'</b>';
|
||||||
$data[1] = ui_print_group_icon ($profile["id_grupo"], true).' <a href="index.php?sec=estado&sec2=operation/agentes/estado_agente&refr=60&group_id='.$profile['id_grupo'].'"></a>';
|
$data[1] = ui_print_group_icon ($profile["id_grupo"], true) .
|
||||||
|
'<a href="index.php?sec=estado&sec2=operation/agentes/estado_agente&refr=60&group_id=' . $profile['id_grupo'] . '">' .
|
||||||
|
' ' . ui_print_truncate_text(groups_get_name ($profile['id_grupo'], True), GENERIC_SIZE_TEXT) .
|
||||||
|
'</a>';
|
||||||
|
|
||||||
$tags_ids = explode(',',$profile["tags"]);
|
$tags_ids = explode(',',$profile["tags"]);
|
||||||
$tags = tags_get_tags($tags_ids);
|
$tags = tags_get_tags($tags_ids);
|
||||||
|
|
Loading…
Reference in New Issue