diff --git a/lib/private/Notification/Notification.php b/lib/private/Notification/Notification.php index ef7cdb5d44..ff3826047d 100644 --- a/lib/private/Notification/Notification.php +++ b/lib/private/Notification/Notification.php @@ -1,4 +1,5 @@ userToNotify); foreach ($users as $user) { - $notification->setUser($user); + $notification->setUser((string) $user); $this->notificationManager->notify($notification); } } diff --git a/lib/public/Notification/INotification.php b/lib/public/Notification/INotification.php index 29f2a0e794..f71d0c53cc 100644 --- a/lib/public/Notification/INotification.php +++ b/lib/public/Notification/INotification.php @@ -1,4 +1,5 @@