Merge pull request #4353 from owncloud/fix_search_user
fix function call for searchUsers()
This commit is contained in:
commit
118c3d8a38
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue