summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CalDAV
diff options
context:
space:
mode:
authorAnna Larch <anna@nextcloud.com>2022-03-21 10:54:13 +0100
committerAnna Larch <anna@nextcloud.com>2022-03-22 00:03:02 +0100
commit08510edaa1fcd45cb9cfadbe4bafc3862b1e5f6f (patch)
tree43795349f38081e95e3fedc321ddb1b9faad4caa /apps/dav/lib/CalDAV
parentb314a13e1c4a673c8c68e964e4b60ef09bd0aff6 (diff)
downloadnextcloud-server-08510edaa1fcd45cb9cfadbe4bafc3862b1e5f6f.tar.gz
nextcloud-server-08510edaa1fcd45cb9cfadbe4bafc3862b1e5f6f.zip
Fix moving error for calendar object error because of missing principal uri
Signed-off-by: Anna Larch <anna@nextcloud.com>
Diffstat (limited to 'apps/dav/lib/CalDAV')
-rw-r--r--apps/dav/lib/CalDAV/CalendarObject.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/CalDAV/CalendarObject.php b/apps/dav/lib/CalDAV/CalendarObject.php
index d87ea571d1d..c927254fba3 100644
--- a/apps/dav/lib/CalDAV/CalendarObject.php
+++ b/apps/dav/lib/CalDAV/CalendarObject.php
@@ -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'];
}
}