diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index b63b7cd5b9..52aa90b1f5 100755 --- a/pandora_console/include/functions_reporting.php +++ b/pandora_console/include/functions_reporting.php @@ -2736,7 +2736,7 @@ function reporting_network_interfaces_report($report, $content, $type = 'dinamic } else{ $network_interfaces_by_agents = agents_get_network_interfaces(false, $filter); - $return = agents_get_network_interfaces_array($network_interfaces_by_agents, $return, $type, $content, $report); + $return = agents_get_network_interfaces_array($network_interfaces_by_agents, $return, $type, $content, $report); metaconsole_restore_db(); } } @@ -2744,7 +2744,7 @@ function reporting_network_interfaces_report($report, $content, $type = 'dinamic } else{ $network_interfaces_by_agents = agents_get_network_interfaces(false, $filter); - agents_get_network_interfaces_array($network_interfaces_by_agents, $return, $type, $content, $report); + $return = agents_get_network_interfaces_array($network_interfaces_by_agents, $return, $type, $content, $report); } return reporting_check_structure_content($return);