summaryrefslogtreecommitdiffstats
path: root/lib/group.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2013-08-08 13:41:04 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2013-08-08 13:41:04 +0200
commitdf358dfef5dd92575602a1ab5a70c188d31c6ac4 (patch)
tree2102f1c14d99930a39f5d963eb541adba7c35a67 /lib/group.php
parentb39d2d19382a7642099be94f6460cd473dcfaaf9 (diff)
downloadnextcloud-server-df358dfef5dd92575602a1ab5a70c188d31c6ac4.tar.gz
nextcloud-server-df358dfef5dd92575602a1ab5a70c188d31c6ac4.zip
fix function call for searUsers()
Diffstat (limited to 'lib/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();