diff options
-rw-r--r-- | lib/group.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/group.php b/lib/group.php index 8fbf5f86418..ba93dc129a1 100644 --- a/lib/group.php +++ b/lib/group.php @@ -230,7 +230,7 @@ class OC_Group { public static function usersInGroup($gid, $search = '', $limit = -1, $offset = 0) { $group = self::getManager()->get($gid); if ($group) { - $users = $group->searchUsers($search . $limit, $offset); + $users = $group->searchUsers($search, $limit, $offset); $userIds = array(); foreach ($users as $user) { $userIds[] = $user->getUID(); |