diff options
author | Simon Rettberg | 2017-02-01 11:28:54 +0100 |
---|---|---|
committer | Simon Rettberg | 2017-02-01 11:28:54 +0100 |
commit | 820f80d7321c9de822fbb8f57c6160bf2d29d1a8 (patch) | |
tree | fb8fc2f8e3c9a5964e615fec1d0c6c4fb0f464cd /modules-available/statistics_reporting | |
parent | [statistics_reporting] Make getdata functions options flag based in preparati... (diff) | |
download | slx-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')
-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 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'); |