From 6d7b8e84779570eed44ac9d09e1a49668d8c1f73 Mon Sep 17 00:00:00 2001 From: Arturo Gonzalez Date: Tue, 20 Dec 2016 13:14:11 +0100 Subject: [PATCH] Fixed netflow items visualization in reports. Ticket #4273 --- .../include/functions_reporting.php | 25 +++++++++++-------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index 4efa0c1005..e65d91819e 100644 --- a/pandora_console/include/functions_reporting.php +++ b/pandora_console/include/functions_reporting.php @@ -280,44 +280,49 @@ function reporting_make_reporting_data($report = null, $id_report, $force_height_chart); break; case 'netflow_area': - $report['contents'][] = reporting_simple_baseline_graph( + $report['contents'][] = reporting_netflow( $report, $content, $type, $force_width_chart, - $force_height_chart); + $force_height_chart, + 'netflow_area'); break; case 'netflow_pie': - $report['contents'][] = reporting_netflow_pie( + $report['contents'][] = reporting_netflow( $report, $content, $type, $force_width_chart, - $force_height_chart); + $force_height_chart, + 'netflow_pie'); break; case 'netflow_data': - $report['contents'][] = reporting_netflow_data( + $report['contents'][] = reporting_netflow( $report, $content, $type, $force_width_chart, - $force_height_chart); + $force_height_chart, + 'netflow_data'); break; case 'netflow_statistics': - $report['contents'][] = reporting_netflow_statistics( + $report['contents'][] = reporting_netflow( $report, $content, $type, $force_width_chart, - $force_height_chart); + $force_height_chart, + 'netflow_statistics'); break; case 'netflow_summary': - $report['contents'][] = reporting_netflow_summary( + $report['contents'][] = reporting_netflow( $report, $content, $type, $force_width_chart, - $force_height_chart); + $force_height_chart, + 'netflow_summary'); break; case 'monitor_report': $report['contents'][] = reporting_monitor_report(