fix(notification): Prevent null in parameters
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
committed by
backportbot-nextcloud[bot]
parent
90307158f6
commit
207037cd9b
@@ -239,8 +239,8 @@ class Notifier implements INotifier {
|
|||||||
],
|
],
|
||||||
'user' => [
|
'user' => [
|
||||||
'type' => 'user',
|
'type' => 'user',
|
||||||
'id' => $params[1],
|
'id' => $params[1] ?? '',
|
||||||
'name' => $dn,
|
'name' => $dn ?? '',
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user