Fix array declaration

This commit is contained in:
Nicolas Le Goff
2014-03-23 23:12:01 +01:00
parent b3bd70fff1
commit 4cb735b4f1
4 changed files with 4 additions and 4 deletions

View File

@@ -852,7 +852,7 @@ class Activity implements ControllerProviderInterface
private function getCSVResponse(Application $app, \module_report $report, $type)
{
// set headers
$headers = [];
$headers = array();
foreach (array_keys($report->getDisplay()) as $k) {
$headers[$k] = $k;
}