summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics_reporting
diff options
context:
space:
mode:
authorUdo Walter2017-09-11 18:47:54 +0200
committerUdo Walter2017-09-11 18:47:54 +0200
commitfebd89b7245b090cc32c8ebd4fab8e31e505c2d1 (patch)
tree961dacc336063ce6b7cfb135fc8c323aade5b02c /modules-available/statistics_reporting
parent[internetaccess] added missing stylesheet (diff)
downloadslx-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.php2
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));