diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2021-11-11 16:09:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-11 16:09:45 +0100 |
commit | 31bcd10c2ac272d77ac578172f3d6e035fd9b48d (patch) | |
tree | 7429e1fd5e38e86c06dcb37bed78467fff21b443 /apps | |
parent | 4aae1843af6803373af21e3d7f13c2ac42a4ba69 (diff) | |
parent | 603a88f2ee81594d9d0169a282ebb0bad7e291c4 (diff) | |
download | nextcloud-server-31bcd10c2ac272d77ac578172f3d6e035fd9b48d.tar.gz nextcloud-server-31bcd10c2ac272d77ac578172f3d6e035fd9b48d.zip |
Merge pull request #29663 from nextcloud/fix/dav-calenar-loader-load-all-calendars
Fix loading all principal calendars in the dav app calendar provider
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); |