diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 349d5b93f6..d2b1e7ac49 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2010-05-13 Miguel de Dios + + * include/functions_reporting.php: fixed the empty cell. + Fixes: #2996522 + 2010-05-13 Miguel de Dios * include/javascript/pandora.js: check if exist the "any" text translation. diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index b05e26d578..d92f1f8688 100644 --- a/pandora_console/include/functions_reporting.php +++ b/pandora_console/include/functions_reporting.php @@ -1544,7 +1544,12 @@ function render_report_html_item ($content, $table, $report, $mini = false) { $module_name = get_db_value ('nombre', 'tagente_modulo', 'id_agente_modulo', $content['id_agent_module']); - $agent_name = get_agentmodule_agent_name ($content['id_agent_module']); + if ($content['id_agent_module'] != 0) { + $agent_name = get_agentmodule_agent_name ($content['id_agent_module']); + } + else { + $agent_name = get_agent_name($content['id_agent']); + } switch ($content["type"]) { case 1: