fix(notification): Prevent null in parameters

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling
2023-07-14 07:53:51 +02:00
committed by backportbot-nextcloud[bot]
parent 90307158f6
commit 207037cd9b

View File

@@ -239,8 +239,8 @@ class Notifier implements INotifier {
],
'user' => [
'type' => 'user',
'id' => $params[1],
'name' => $dn,
'id' => $params[1] ?? '',
'name' => $dn ?? '',
]
]
);