diff options
author | Udo Walter | 2017-09-11 18:47:54 +0200 |
---|---|---|
committer | Udo Walter | 2017-09-11 18:47:54 +0200 |
commit | febd89b7245b090cc32c8ebd4fab8e31e505c2d1 (patch) | |
tree | 961dacc336063ce6b7cfb135fc8c323aade5b02c /modules-available/statistics_reporting | |
parent | [internetaccess] added missing stylesheet (diff) | |
download | slx-admin-febd89b7245b090cc32c8ebd4fab8e31e505c2d1.tar.gz slx-admin-febd89b7245b090cc32c8ebd4fab8e31e505c2d1.tar.xz slx-admin-febd89b7245b090cc32c8ebd4fab8e31e505c2d1.zip |
[exams] fixed inconsistencies + made tables sortable
Diffstat (limited to 'modules-available/statistics_reporting')
-rw-r--r-- | modules-available/statistics_reporting/page.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |