From febd89b7245b090cc32c8ebd4fab8e31e505c2d1 Mon Sep 17 00:00:00 2001 From: Udo Walter Date: Mon, 11 Sep 2017 18:47:54 +0200 Subject: [exams] fixed inconsistencies + made tables sortable --- modules-available/statistics_reporting/page.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules-available/statistics_reporting') diff --git a/modules-available/statistics_reporting/page.inc.php b/modules-available/statistics_reporting/page.inc.php index 1a85bfa8..9862a82e 100644 --- a/modules-available/statistics_reporting/page.inc.php +++ b/modules-available/statistics_reporting/page.inc.php @@ -63,7 +63,7 @@ class Page_Statistics_Reporting extends Page // so the user can know what is going on if ($this->action === 'getreport') { if(User::hasPermission("reporting.download")) { - $report = RemoteReport::generateReport(strtotime('-7 days'), time('now')); + $report = RemoteReport::generateReport(time()); Header('Content-Disposition: attachment; filename=remote-report.json'); Header('Content-Type: application/json; charset=utf-8'); die(json_encode($report)); -- cgit v1.2.3-55-g7522