diff options
author | Simon Rettberg | 2017-04-27 13:46:42 +0200 |
---|---|---|
committer | Simon Rettberg | 2017-04-27 13:46:42 +0200 |
commit | 8666590dd1184970bf8c93415e49f8f4be43ea5b (patch) | |
tree | e9c0f1ba79b3400e98c6249daf61f8f519105f29 /modules-available/statistics_reporting/page.inc.php | |
parent | [locationinfo] Clean up translations (diff) | |
parent | Relax anti-caching headers a bit (diff) | |
download | slx-admin-8666590dd1184970bf8c93415e49f8f4be43ea5b.tar.gz slx-admin-8666590dd1184970bf8c93415e49f8f4be43ea5b.tar.xz slx-admin-8666590dd1184970bf8c93415e49f8f4be43ea5b.zip |
Merge branch 'master' into location-info-panel
Diffstat (limited to 'modules-available/statistics_reporting/page.inc.php')
-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 6bd908a5..52accaea 100644 --- a/modules-available/statistics_reporting/page.inc.php +++ b/modules-available/statistics_reporting/page.inc.php @@ -58,7 +58,7 @@ class Page_Statistics_Reporting extends Page // Get report - fetch data exactly the way it would automatically be reported // so the user can know what is going on if ($this->action === 'getreport') { - $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)); |