Skip to content
Snippets Groups Projects
Commit 118c3d8a authored by Robin Appelman's avatar Robin Appelman
Browse files

Merge pull request #4353 from owncloud/fix_search_user

fix function call for searchUsers()
parents c2f40d24 df358dfe
Branches
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment