Merge branch 'pandora_5.1' of https://github.com/pandorafms/pandorafms into pandora_5.1

This commit is contained in:
m-lopez-f 2015-05-27 16:29:44 +02:00
commit 3a86b01e22
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'])) { if (modules_is_disable_agent($row['id_agent_module'])) {
//Restore dbconnection
if (($config ['metaconsole'] == 1) && $server_name != '' && defined('METACONSOLE')) {
metaconsole_restore_db();
}
continue; continue;
} }