diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2022-03-22 10:28:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-22 10:28:28 +0100 |
commit | a47fd94cb8056f885b63e9ad2fd009ff049c4ed7 (patch) | |
tree | 158baac69775f57acb1a1cb7df6285630e732249 | |
parent | 0fdb41506ada2b9109a8a562d99f5934bdfcadc4 (diff) | |
parent | 08510edaa1fcd45cb9cfadbe4bafc3862b1e5f6f (diff) | |
download | nextcloud-server-a47fd94cb8056f885b63e9ad2fd009ff049c4ed7.tar.gz nextcloud-server-a47fd94cb8056f885b63e9ad2fd009ff049c4ed7.zip |
Merge pull request #31639 from nextcloud/fix/moving-calobject-fails
Fix moving error for calendar object error because of missing princip…
-rw-r--r-- | apps/dav/lib/CalDAV/CalendarObject.php | 4 |
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']; } } |