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:
commit
5a6efdd141
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue