Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2013-10-08 18:43:23 +0400
committerBjoern Schiessle <schiessle@owncloud.com>2013-10-08 18:43:23 +0400
commit835f36cb09c9eb13e7475ba49c89802e50b8eec9 (patch)
tree535a2ef977d6506efc87c5d8ea87bc480a5ac9f7 /lib/private/group.php
parent6284ab31de660e4400e7e244e2a71096e6ed8f3b (diff)
find users which are in the same group
Diffstat (limited to 'lib/private/group.php')
-rw-r--r--lib/private/group.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/group.php b/lib/private/group.php
index ba93dc129a1..9144ef683b6 100644
--- a/lib/private/group.php
+++ b/lib/private/group.php
@@ -265,7 +265,7 @@ class OC_Group {
public static function displayNamesInGroup($gid, $search = '', $limit = -1, $offset = 0) {
$group = self::getManager()->get($gid);
if ($group) {
- $users = $group->searchDisplayName($search . $limit, $offset);
+ $users = $group->searchDisplayName($search, $limit, $offset);
$displayNames = array();
foreach ($users as $user) {
$displayNames[] = $user->getDisplayName();