Fix notification casting

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
pull/16212/head
Roeland Jago Douma 2019-07-03 20:32:45 +07:00
parent e5412ea49e
commit 32c072853f
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 1 additions and 1 deletions

@ -196,7 +196,7 @@ class RemoveLinkShares implements IRepairStep {
$users = array_keys($this->userToNotify);
foreach ($users as $user) {
$notification->setUser($user);
$notification->setUser((string) $user);
$this->notificationManager->notify($notification);
}
}