summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics_reporting/page.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2017-02-01 11:28:54 +0100
committerSimon Rettberg2017-02-01 11:28:54 +0100
commit820f80d7321c9de822fbb8f57c6160bf2d29d1a8 (patch)
treefb8fc2f8e3c9a5964e615fec1d0c6c4fb0f464cd /modules-available/statistics_reporting/page.inc.php
parent[statistics_reporting] Make getdata functions options flag based in preparati... (diff)
downloadslx-admin-820f80d7321c9de822fbb8f57c6160bf2d29d1a8.tar.gz
slx-admin-820f80d7321c9de822fbb8f57c6160bf2d29d1a8.tar.xz
slx-admin-820f80d7321c9de822fbb8f57c6160bf2d29d1a8.zip
[statistics_reporting] Make code match specification
Diffstat (limited to 'modules-available/statistics_reporting/page.inc.php')
-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 052d813d..81d44e15 100644
--- a/modules-available/statistics_reporting/page.inc.php
+++ b/modules-available/statistics_reporting/page.inc.php
@@ -28,7 +28,7 @@ class Page_Statistics_Reporting extends Page
{
if ($this->action === 'show') {
// timespan you want to see. default = last 7 days
- GetData::$from = strtotime("- " . (Request::get('cutoff', 14, 'int') - 1) . " days 00:00:00");
+ GetData::$from = strtotime("- " . (Request::get('cutoff', 7, 'int') - 1) . " days 00:00:00");
GetData::$to = time();
GetData::$lowerTimeBound = Request::get('lower', 0, 'int');
GetData::$upperTimeBound = Request::get('upper', 24, 'int');