mirror of
https://github.com/nextcloud/server.git
synced 2026-03-03 14:01:34 -05:00
Also trim the name
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
d29bb5ff9d
commit
33d003d032
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ class Event extends Base {
|
|||
$params = [
|
||||
'type' => 'calendar-event',
|
||||
'id' => $eventData['id'],
|
||||
'name' => $eventData['name'] !== '' ? $eventData['name'] : $this->l->t('Untitled event'),
|
||||
'name' => trim($eventData['name']) !== '' ? $eventData['name'] : $this->l->t('Untitled event'),
|
||||
];
|
||||
|
||||
if (isset($eventData['link']) && is_array($eventData['link']) && $this->appManager->isEnabledForUser('calendar')) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue