Use the appropriate config for the start column in user iCal export

This commit is contained in:
Alfred Bühler
2023-03-08 05:28:42 +01:00
committed by GitHub
parent 1eebb71fb5
commit 0216a3136b

View File

@@ -31,7 +31,7 @@ class ICalendarController extends BaseController
$startRange = strtotime('-2 months');
$endRange = strtotime('+6 months');
$startColumn = $this->configModel->get('calendar_project_tasks', 'date_started');
$startColumn = $this->configModel->get('calendar_user_tasks', 'date_started');
$calendar = new iCalendar('Kanboard');
$calendar->setName($user['name'] ?: $user['username']);