Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-01-09 16:53:02 +0300
committerMorris Jobke <hey@morrisjobke.de>2019-01-09 20:33:17 +0300
commit63e24d0903a84f5cb63180c6d37945fcedc57dfb (patch)
tree532e2da7f1ba1e9d7b930a553408b478847b9d6b
parent5ea32a1bca9592835d5648654f0a7dfc98946a05 (diff)
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.php2
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;