diff options
author | Joas Schilling <coding@schilljs.com> | 2019-01-09 16:53:02 +0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2019-01-09 20:33:17 +0300 |
commit | 63e24d0903a84f5cb63180c6d37945fcedc57dfb (patch) | |
tree | 532e2da7f1ba1e9d7b930a553408b478847b9d6b /apps | |
parent | 5ea32a1bca9592835d5648654f0a7dfc98946a05 (diff) |
Prevent php info about missing index for old events
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps')
-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; |