diff --git a/pandora_console/include/class/Tree.class.php b/pandora_console/include/class/Tree.class.php index 34627d1a38..deb4a1c692 100644 --- a/pandora_console/include/class/Tree.class.php +++ b/pandora_console/include/class/Tree.class.php @@ -77,7 +77,7 @@ class Tree { // First filter by name and father $groups = db_get_all_rows_filter('tgrupo', $filter, - array('id_grupo', 'nombre')); + array('id_grupo', 'nombre', 'icon')); if (empty($groups)) $groups = array(); @@ -200,6 +200,7 @@ class Tree { $data['id'] = $group['id_grupo']; $data['type'] = 'group'; $data['name'] = $group['nombre']; + $data['icon'] = $group['icon']; $data['searchChildren'] = $group['searchChildren']; $data['searchCounters'] = $group['searchCounters'];