mirror of
https://github.com/nextcloud/server.git
synced 2026-06-15 19:49:38 -04:00
Fix handling events without names in activities
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
a15652aaf7
commit
d29bb5ff9d
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' => $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