diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index 288985cc3f..96312cd482 100755 --- a/pandora_console/include/functions_reporting.php +++ b/pandora_console/include/functions_reporting.php @@ -5739,12 +5739,14 @@ function reporting_render_report_html_item ($content, $table, $report, $mini = f } } - if (modules_is_disable_agent($item['id_agent_module'])) { + if (modules_is_disable_agent($item['id_agent_module']) + || modules_is_not_init($item['id_agent_module'])) { //Restore dbconnection if (($config ['metaconsole'] == 1) && $server_name != '' && defined('METACONSOLE')) { metaconsole_restore_db(); } + continue; }