Merge pull request #4353 from owncloud/fix_search_user

fix function call for searchUsers()
remotes/origin/stable6
icewind1991 11 years ago
commit 118c3d8a38
  1. 2
      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();

Loading…
Cancel
Save