diff options
author | Joas Schilling <coding@schilljs.com> | 2019-01-09 14:53:02 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2019-01-09 18:33:17 +0100 |
commit | 63e24d0903a84f5cb63180c6d37945fcedc57dfb (patch) | |
tree | 532e2da7f1ba1e9d7b930a553408b478847b9d6b | |
parent | 5ea32a1bca9592835d5648654f0a7dfc98946a05 (diff) | |
download | nextcloud-server-63e24d0903a84f5cb63180c6d37945fcedc57dfb.tar.gz nextcloud-server-63e24d0903a84f5cb63180c6d37945fcedc57dfb.zip |
Prevent php info about missing index for old events
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | apps/dav/lib/CalDAV/Activity/Provider/Event.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/CalDAV/Activity/Provider/Event.php b/apps/dav/lib/CalDAV/Activity/Provider/Event.php index 67b45b3563d..89a13971010 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; |