summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/Controller/ICalendarController.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/Controller/ICalendarController.php b/app/Controller/ICalendarController.php
index 20e2a9d7..38475a32 100644
--- a/app/Controller/ICalendarController.php
+++ b/app/Controller/ICalendarController.php
@@ -28,8 +28,8 @@ class ICalendarController extends BaseController
throw AccessForbiddenException::getInstance()->withoutLayout();
}
- $startRange = $this->request->getStringParam('start', strtotime('-2 months'));
- $endRange = $this->request->getStringParam('end', strtotime('+6 months'));
+ $startRange = strtotime('-2 months');
+ $endRange = strtotime('+6 months');
$startColumn = $this->configModel->get('calendar_project_tasks', 'date_started');
@@ -68,8 +68,8 @@ class ICalendarController extends BaseController
throw AccessForbiddenException::getInstance()->withoutLayout();
}
- $startRange = $this->request->getStringParam('start', strtotime('-2 months'));
- $endRange = $this->request->getStringParam('end', strtotime('+6 months'));
+ $startRange = strtotime('-2 months');
+ $endRange = strtotime('+6 months');
$startColumn = $this->configModel->get('calendar_project_tasks', 'date_started');