mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #32580 from nextcloud/bugfix/noid/fix-handling-events-without-name
Fix handling events without names in activities
This commit is contained in:
commit
95f390d368
1 changed files with 2 additions and 2 deletions
|
|
@ -88,9 +88,9 @@ class Event extends Base {
|
|||
$params = [
|
||||
'type' => 'calendar-event',
|
||||
'id' => $eventData['id'],
|
||||
'name' => $eventData['name'],
|
||||
|
||||
'name' => trim($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
|
||||
|
|
|
|||
Loading…
Reference in a new issue