]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix function call for searUsers()
authorBjoern Schiessle <schiessle@owncloud.com>
Thu, 8 Aug 2013 11:41:04 +0000 (13:41 +0200)
committerBjoern Schiessle <schiessle@owncloud.com>
Thu, 8 Aug 2013 11:41:04 +0000 (13:41 +0200)
lib/group.php

index 8fbf5f8641885cbee4500774e324b56eb84839c4..ba93dc129a11f09c3972446246af9f94f235ca3d 100644 (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();