diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/dav/lib/CalDAV/CalendarProvider.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/CalDAV/CalendarProvider.php b/apps/dav/lib/CalDAV/CalendarProvider.php index 30eb6ae4268..85ead6117a6 100644 --- a/apps/dav/lib/CalDAV/CalendarProvider.php +++ b/apps/dav/lib/CalDAV/CalendarProvider.php @@ -49,7 +49,7 @@ class CalendarProvider implements ICalendarProvider { public function getCalendars(string $principalUri, array $calendarUris = []): array { $calendarInfos = []; if (empty($calendarUris)) { - $calendarInfos[] = $this->calDavBackend->getCalendarsForUser($principalUri); + $calendarInfos = $this->calDavBackend->getCalendarsForUser($principalUri); } else { foreach ($calendarUris as $calendarUri) { $calendarInfos[] = $this->calDavBackend->getCalendarByUri($principalUri, $calendarUri); |