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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ class ICalendarController extends BaseController
$startRange = strtotime('-2 months'); $startRange = strtotime('-2 months');
$endRange = strtotime('+6 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 = new iCalendar('Kanboard');
$calendar->setName($user['name'] ?: $user['username']); $calendar->setName($user['name'] ?: $user['username']);