mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
fixed minor error report availability metaconsole
This commit is contained in:
parent
cbd3d5e6b7
commit
c014fab621
@ -4774,13 +4774,12 @@ function reporting_availability($report, $content, $date=false, $time=false) {
|
|||||||
$item['id_agent_module']);
|
$item['id_agent_module']);
|
||||||
|
|
||||||
$text = $row['data']['agent'] . " (" . $text . ")";
|
$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
|
//find order
|
||||||
$row['data']['order'] = $row['data']['SLA'];
|
$row['data']['order'] = $row['data']['SLA'];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user