]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix notification casting 16212/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Wed, 3 Jul 2019 18:32:45 +0000 (20:32 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Wed, 3 Jul 2019 18:32:45 +0000 (20:32 +0200)
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
lib/private/Repair/RemoveLinkShares.php

index 20998df644347b7160b9c22a2dd8701da937d1af..3db7d7c8492e02290179451334dfb9580e7bfda7 100644 (file)
@@ -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);
                }
        }