diff --git a/script/statistics/annual.php b/script/statistics/annual.php index 44469f2..fe617bd 100644 --- a/script/statistics/annual.php +++ b/script/statistics/annual.php @@ -29,9 +29,4 @@ $stats = new \Keyman\Site\com\keyman\api\AnnualStatistics(); $data = $stats->execute($mssql, $startDate, $endDate); - $rows = []; - foreach($data as $row) { - $rows[$row[0]] = ["Value" => $row[2], "Comment" => $row[1]]; - } - - json_print($rows); + json_print($data);