aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-01-09 14:43:51 +0100
committerJoas Schilling <coding@schilljs.com>2019-01-09 14:43:51 +0100
commit7d9f12a29c0a44683841f9debc33f1e2b366025c (patch)
tree22da55b02c3905af2083ede4d6ea49e4f15479bd
parent6e3b9ee75c02c40aed812002d9c8d1d97c6db656 (diff)
downloadnextcloud-server-7d9f12a29c0a44683841f9debc33f1e2b366025c.tar.gz
nextcloud-server-7d9f12a29c0a44683841f9debc33f1e2b366025c.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.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 666660cdb1b..66d96516a82 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;