From 313733d071f99700c5f569c5063a7c5cdc39b04b Mon Sep 17 00:00:00 2001 From: manuel Date: Fri, 25 Oct 2019 09:49:55 +0200 Subject: [PATCH] Fixed bug in CSV export --- pandora_console/include/functions_reporting.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index 1d0355cf97..f4dd6bed69 100755 --- a/pandora_console/include/functions_reporting.php +++ b/pandora_console/include/functions_reporting.php @@ -4221,14 +4221,7 @@ function reporting_sql_graph( case 'data': $data = []; - foreach ($modules as $key => $value) { - $data[$value] = modules_get_agentmodule_data( - $value, - $content['period'], - $report['datetime'] - ); - } - + $data = db_get_all_rows_sql($content['external_source']); $return['chart'] = $data; break; }