Fixed the list of agents in the general item in report in metaconsole. TICKET: #2218

This commit is contained in:
mdtrooper 2015-05-27 15:54:05 +02:00
parent 543c095597
commit 9a526f4cb5
1 changed files with 6 additions and 0 deletions

View File

@ -5978,6 +5978,12 @@ function reporting_render_report_html_item ($content, $table, $report, $mini = f
}
if (modules_is_disable_agent($row['id_agent_module'])) {
//Restore dbconnection
if (($config ['metaconsole'] == 1) && $server_name != '' && defined('METACONSOLE')) {
metaconsole_restore_db();
}
continue;
}