Merge pull request #4353 from owncloud/fix_search_user

fix function call for searchUsers()
This commit is contained in:
icewind1991 2013-08-08 06:23:53 -07:00
commit 118c3d8a38

View file

@ -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();