Re-Fixed the availability item in report, now it does not show the diable. TICKET: #2510

This commit is contained in:
mdtrooper 2015-08-21 14:02:55 +02:00
parent 24e71307d5
commit f5fad7a670
1 changed files with 3 additions and 1 deletions

View File

@ -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;
}