fix searchUsers() call in group.php

This commit is contained in:
Bjoern Schiessle 2013-07-31 11:34:22 +02:00
parent 6c96a5273b
commit 99354f9a28
1 changed files with 1 additions and 1 deletions

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