diff options
author | Morris Jobke <hey@morrisjobke.de> | 2019-01-09 18:29:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-09 18:29:40 +0100 |
commit | 62b4f961124f8865508c29f38d7a9429ae47f700 (patch) | |
tree | 0d7eca501719bbeb0e97fd5088b2a5ec6b5fe54b | |
parent | 707cb68f22f010f5dfb7f5e176781609f67dc0b0 (diff) | |
parent | 7d9f12a29c0a44683841f9debc33f1e2b366025c (diff) | |
download | nextcloud-server-62b4f961124f8865508c29f38d7a9429ae47f700.tar.gz nextcloud-server-62b4f961124f8865508c29f38d7a9429ae47f700.zip |
Merge pull request #13446 from nextcloud/bugfix/13430/prevent-php-info-log
Prevent php info about missing index for old events
-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 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; |