summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/group/group.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/group/group.php b/lib/group/group.php
index c4ca7f1c0eb..bb1537b5c66 100644
--- a/lib/group/group.php
+++ b/lib/group/group.php
@@ -77,7 +77,7 @@ class Group {
foreach ($userIds as $userId) {
$user = $this->userManager->get($userId);
if(!is_null($user)) {
- $users[$userId] = $user;
+ $users[] = $user;
}
}
$this->users = $users;