From 32a21252819f670904e6d8184c7ceef911fd3d22 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 9 Jan 2019 14:51:34 +0100 Subject: [PATCH] Prevent php info about missing index for old events Signed-off-by: Joas Schilling --- apps/dav/lib/CalDAV/Activity/Provider/Event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dav/lib/CalDAV/Activity/Provider/Event.php b/apps/dav/lib/CalDAV/Activity/Provider/Event.php index 666660cdb1..66d96516a8 100644 --- a/apps/dav/lib/CalDAV/Activity/Provider/Event.php +++ b/apps/dav/lib/CalDAV/Activity/Provider/Event.php @@ -172,7 +172,7 @@ class Event extends Base { private function generateClassifiedObjectParameter(array $eventData) { $parameter = $this->generateObjectParameter($eventData); - if ($eventData['classified']) { + if (!empty($eventData['classified'])) { $parameter['name'] = $this->l->t('Busy'); } return $parameter;