Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix handling events without names in activities
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed May 24, 2022
commit ba684f5c58de8679441e9e63859e93c0c9eeac9d
4 changes: 2 additions & 2 deletions apps/dav/lib/CalDAV/Activity/Provider/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ protected function generateObjectParameter(array $eventData) {
$params = [
'type' => 'calendar-event',
'id' => $eventData['id'],
'name' => $eventData['name'],

'name' => $eventData['name'] !== '' ? $eventData['name'] : $this->l->t('Untitled event'),
];

if (isset($eventData['link']) && is_array($eventData['link']) && $this->appManager->isEnabledForUser('calendar')) {
try {
// The calendar app needs to be manually loaded for the routes to be loaded
Expand Down