summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2013-07-31 11:34:22 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2013-07-31 11:34:22 +0200
commit99354f9a283a4274458c8c3cae4c82419d51c80d (patch)
treeb5ca1d2253f196b115143cce2569d99e97708342
parent6c96a5273b2df54fe58a515c7863276095820c63 (diff)
downloadnextcloud-server-99354f9a283a4274458c8c3cae4c82419d51c80d.tar.gz
nextcloud-server-99354f9a283a4274458c8c3cae4c82419d51c80d.zip
fix searchUsers() call in group.php
-rw-r--r--lib/group.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/group.php b/lib/group.php
index 8fbf5f86418..ba93dc129a1 100644
--- a/lib/group.php
+++ b/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();