fixed minor error report availability metaconsole

This commit is contained in:
daniel 2016-11-30 11:48:04 +01:00
parent cbd3d5e6b7
commit c014fab621
1 changed files with 5 additions and 6 deletions

View File

@ -4774,13 +4774,12 @@ function reporting_availability($report, $content, $date=false, $time=false) {
$item['id_agent_module']);
$text = $row['data']['agent'] . " (" . $text . ")";
//Restore dbconnection
if (($config ['metaconsole'] == 1) && $server_name != '' && defined('METACONSOLE')) {
metaconsole_restore_db();
}
/*
//Restore dbconnection
if (($config ['metaconsole'] == 1) && $server_name != '' && defined('METACONSOLE')) {
metaconsole_restore_db();
}
*/
//find order
$row['data']['order'] = $row['data']['SLA'];