Fixed the general report in metaconsole with some agents disabled.
This commit is contained in:
parent
aeedcd0ec3
commit
6aa2d6c66c
|
@ -6194,6 +6194,11 @@ function reporting_render_report_html_item ($content, $table, $report, $mini = f
|
||||||
}
|
}
|
||||||
|
|
||||||
if (modules_is_disable_agent($g['id_agent_module'])) {
|
if (modules_is_disable_agent($g['id_agent_module'])) {
|
||||||
|
//Restore dbconnection
|
||||||
|
if (($config ['metaconsole'] == 1) && $server_name != '' && defined('METACONSOLE')) {
|
||||||
|
metaconsole_restore_db();
|
||||||
|
}
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue