]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix moving error for calendar object error because of missing principal uri 31639/head
authorAnna Larch <anna@nextcloud.com>
Mon, 21 Mar 2022 09:54:13 +0000 (10:54 +0100)
committerAnna Larch <anna@nextcloud.com>
Mon, 21 Mar 2022 23:03:02 +0000 (00:03 +0100)
Signed-off-by: Anna Larch <anna@nextcloud.com>
apps/dav/lib/CalDAV/CalendarObject.php

index d87ea571d1d7001cc04de95dc9dda1ae36fdab9f..c927254fba369bca7af371352f6b415bdd53b71f 100644 (file)
@@ -156,10 +156,10 @@ class CalendarObject extends \Sabre\CalDAV\CalendarObject {
        }
 
        public function getCalendarId(): int {
-               return (int)$this->objectData['calendarId'];
+               return (int)$this->objectData['calendarid'];
        }
 
        public function getPrincipalUri(): string {
-               return $this->objectData['principaluri'];
+               return $this->calendarInfo['principaluri'];
        }
 }