From 650387825974dab81765f88e61c5c470f2eed3de Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Tue, 1 Jun 2010 16:39:18 +0000 Subject: [PATCH] 2010-06-01 Sergio Martin * godmode/groups/group_list.php: Change the way of get the group incons to function print_group_icon. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2839 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/godmode/groups/group_list.php | 6 ++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 7694cfca1c..fa0e804b1f 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2010-06-01 Sergio Martin + + * godmode/groups/group_list.php: Change the way of + get the group incons to function print_group_icon. + 2010-06-01 Raúl Mateos * godmode/alerts/alert_list.list.php, diff --git a/pandora_console/godmode/groups/group_list.php b/pandora_console/godmode/groups/group_list.php index 499f69368d..26d4bd8a8f 100644 --- a/pandora_console/godmode/groups/group_list.php +++ b/pandora_console/godmode/groups/group_list.php @@ -166,10 +166,8 @@ foreach ($groups as $id_group => $group_name) { $group = get_db_row ('tgrupo', 'id_grupo', $id_group); - if (!empty ($group["icon"])) - $data[0] = ''; - else - $data[0] = ' '; + + $data[0] = print_group_icon($id_group, true); $data[1] = ''.$group_name.''; $data[2] = get_group_name ($group["parent"]); $data[3] = $group['disabled'] ? __('Disabled') : __('Enabled');