From 8696bd9f912a63e658e379f5aa467e59481688a3 Mon Sep 17 00:00:00 2001 From: fermin831 Date: Mon, 11 Mar 2019 18:04:01 +0100 Subject: [PATCH] Fixed CSV on network/netflow explorer Former-commit-id: b111d5717ee66754ae15aa25c79464da92678174 --- pandora_console/operation/network/network_report.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pandora_console/operation/network/network_report.php b/pandora_console/operation/network/network_report.php index 404c809a83..ba6ddf2dc4 100644 --- a/pandora_console/operation/network/network_report.php +++ b/pandora_console/operation/network/network_report.php @@ -235,10 +235,13 @@ if (get_parameter('export_csv')) { $nl = "\n"; // Print the header. - foreach ($table->head as $head_elem) { - echo $head_elem.$div; + echo reset($table->head).$div; + if (!$is_network) { + echo __('Flows').$div; } + echo __('Packets').$div; + echo __('Bytes').$div; echo $nl; // Print the data.