aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-03-09 18:12:39 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-03-09 18:12:39 +0100
commitbc434b252c4918aeb02db5725238007c766b9e35 (patch)
tree01cfb2c2c07a1489ebb1a946744753c95d666c99 /apps
parent822541b6899f486f479b1d9ec43948c365388e73 (diff)
downloadnextcloud-server-bc434b252c4918aeb02db5725238007c766b9e35.tar.gz
nextcloud-server-bc434b252c4918aeb02db5725238007c766b9e35.zip
fixes #23020
Diffstat (limited to 'apps')
-rw-r--r--apps/dav/lib/caldav/caldavbackend.php2
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)) {