From 32c072853fa9764b7419e20ce35040c72b7e7383 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Wed, 3 Jul 2019 20:32:45 +0200 Subject: [PATCH] Fix notification casting Signed-off-by: Roeland Jago Douma --- lib/private/Repair/RemoveLinkShares.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Repair/RemoveLinkShares.php b/lib/private/Repair/RemoveLinkShares.php index 20998df6443..3db7d7c8492 100644 --- a/lib/private/Repair/RemoveLinkShares.php +++ b/lib/private/Repair/RemoveLinkShares.php @@ -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); } } -- 2.39.5