From e51c6cc073e787886d6ab436b83423f2887dd385 Mon Sep 17 00:00:00 2001 From: Arturo Gonzalez Date: Mon, 28 Nov 2016 09:41:45 +0100 Subject: [PATCH] Fixed monitor name in searching modules. Ticket #4247 --- pandora_console/operation/search_modules.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pandora_console/operation/search_modules.php b/pandora_console/operation/search_modules.php index 9ae84839e5..8ce5bd06aa 100644 --- a/pandora_console/operation/search_modules.php +++ b/pandora_console/operation/search_modules.php @@ -73,10 +73,9 @@ else { 'nombre', 'web_content_string'); foreach ($modules as $module) { - //~ html_debug_print($module); $module["datos"] = modules_get_last_value($module['id_agente_modulo']); - $module["module_name"] = 111; + $module["module_name"] = $module['nombre']; //To search the monitor status $status_sql = sprintf('SELECT estado from tagente_estado where id_agente_modulo =' . $module['id_agente_modulo']);