From cac55053e3df0ad007672f9374a4c6a8875a7af4 Mon Sep 17 00:00:00 2001 From: daniel Date: Tue, 3 Apr 2018 12:42:54 +0200 Subject: [PATCH] fixed minor error fullscale in report interfaces metaconsole --- pandora_console/include/functions_reporting.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index 52aa90b1f5..5df97acf9d 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, $fullscale); metaconsole_restore_db(); } } @@ -2744,13 +2744,13 @@ 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, $fullscale); } return reporting_check_structure_content($return); } -function agents_get_network_interfaces_array($network_interfaces_by_agents, $return, $type, $content, $report){ +function agents_get_network_interfaces_array($network_interfaces_by_agents, $return, $type, $content, $report, $fullscale){ if (empty($network_interfaces_by_agents)) { $return['failed'] = __('The group has no agents or none of the agents has any network interface');