diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-03-09 18:12:39 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-03-09 18:12:39 +0100 |
commit | bc434b252c4918aeb02db5725238007c766b9e35 (patch) | |
tree | 01cfb2c2c07a1489ebb1a946744753c95d666c99 /apps | |
parent | 822541b6899f486f479b1d9ec43948c365388e73 (diff) | |
download | nextcloud-server-bc434b252c4918aeb02db5725238007c766b9e35.tar.gz nextcloud-server-bc434b252c4918aeb02db5725238007c766b9e35.zip |
fixes #23020
Diffstat (limited to 'apps')
-rw-r--r-- | apps/dav/lib/caldav/caldavbackend.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/caldav/caldavbackend.php b/apps/dav/lib/caldav/caldavbackend.php index 521d1b1de5e..e9a9cb2378b 100644 --- a/apps/dav/lib/caldav/caldavbackend.php +++ b/apps/dav/lib/caldav/caldavbackend.php @@ -1294,7 +1294,7 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription if (!$componentType) { throw new \Sabre\DAV\Exception\BadRequest('Calendar objects must have a VJOURNAL, VEVENT or VTODO component'); } - if ($componentType === 'VEVENT') { + if ($componentType === 'VEVENT' && $component->DTSTART) { $firstOccurence = $component->DTSTART->getDateTime()->getTimeStamp(); // Finding the last occurence is a bit harder if (!isset($component->RRULE)) { |