mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Fixed minor error of php
This commit is contained in:
parent
db222005af
commit
017f22f304
@ -6081,7 +6081,7 @@ function reporting_render_report_html_item ($content, $table, $report, $mini = f
|
||||
}
|
||||
|
||||
if (modules_is_disable_agent($row['id_agent_module'])
|
||||
|| modules_is_not_init($item['id_agent_module'])) {
|
||||
|| modules_is_not_init($row['id_agent_module'])) {
|
||||
|
||||
//Restore dbconnection
|
||||
if (($config ['metaconsole'] == 1) && $server_name != '' && defined('METACONSOLE')) {
|
||||
@ -6283,7 +6283,7 @@ function reporting_render_report_html_item ($content, $table, $report, $mini = f
|
||||
}
|
||||
|
||||
if (modules_is_disable_agent($g['id_agent_module'])
|
||||
|| modules_is_not_init($item['id_agent_module'])) {
|
||||
|| modules_is_not_init($g['id_agent_module'])) {
|
||||
//Restore dbconnection
|
||||
if (($config ['metaconsole'] == 1) && $server_name != '' && defined('METACONSOLE')) {
|
||||
metaconsole_restore_db();
|
||||
|
Loading…
x
Reference in New Issue
Block a user