From 2048e9408e97cc1673f3ba063ee02de646d68b0d Mon Sep 17 00:00:00 2001 From: Alejandro Gallardo Escobar Date: Thu, 8 Jan 2015 15:07:01 +0100 Subject: [PATCH] Fixed an error on the groups tree view --- pandora_console/include/class/Tree.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandora_console/include/class/Tree.class.php b/pandora_console/include/class/Tree.class.php index cd72a3b2c5..94d43ffd93 100644 --- a/pandora_console/include/class/Tree.class.php +++ b/pandora_console/include/class/Tree.class.php @@ -383,8 +383,9 @@ class Tree { $module['id'] = (int) $module['id_agente_modulo']; $module['name'] = $module['nombre']; $module['id_module_type'] = (int) $module['id_tipo_modulo']; + $module['server_type'] = (int) $module['id_modulo']; // $module['icon'] = modules_get_type_icon($module['id_tipo_modulo']); - $module['value'] = modules_get_last_value($module['id']); + // $module['value'] = modules_get_last_value($module['id']); // Status switch (modules_get_status($module['id'])) {