fix function call for searUsers()

This commit is contained in:
Bjoern Schiessle 2013-08-08 13:41:04 +02:00
parent b39d2d1938
commit df358dfef5
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) { public static function usersInGroup($gid, $search = '', $limit = -1, $offset = 0) {
$group = self::getManager()->get($gid); $group = self::getManager()->get($gid);
if ($group) { if ($group) {
$users = $group->searchUsers($search . $limit, $offset); $users = $group->searchUsers($search, $limit, $offset);
$userIds = array(); $userIds = array();
foreach ($users as $user) { foreach ($users as $user) {
$userIds[] = $user->getUID(); $userIds[] = $user->getUID();