Merge branch 'ent-4832-revision-de-exportacion-de-informes-a-csv' into 'develop'

Fixed bug in CSV export

See merge request artica/pandorafms!2835
This commit is contained in:
Daniel Rodriguez 2020-01-13 18:28:09 +01:00
commit 5a6efdd141
1 changed files with 1 additions and 8 deletions

View File

@ -4288,14 +4288,7 @@ function reporting_sql_graph(
case 'data': case 'data':
$data = []; $data = [];
foreach ($modules as $key => $value) { $data = db_get_all_rows_sql($content['external_source']);
$data[$value] = modules_get_agentmodule_data(
$value,
$content['period'],
$report['datetime']
);
}
$return['chart'] = $data; $return['chart'] = $data;
break; break;
} }