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
path: root/core
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2013-10-08 19:04:12 +0400
committerBjoern Schiessle <schiessle@owncloud.com>2013-10-08 19:04:12 +0400
commite3565d5266a00182578beb325a3f192e8bc171cc (patch)
treecb8ed45b8ad102c86717f2c88ba158e20469def1 /core
parent3d5f8de758d9261abc4172aceea17741a41cfcf9 (diff)
find users which are in the same group
Diffstat (limited to 'core')
-rw-r--r--core/ajax/share.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ajax/share.php b/core/ajax/share.php
index aed1caff378..387ac8bc27f 100644
--- a/core/ajax/share.php
+++ b/core/ajax/share.php
@@ -188,7 +188,7 @@ if (isset($_POST['action']) && isset($_POST['itemType']) && isset($_POST['itemSo
while ($count < 15 && count($users) == $limit) {
$limit = 15 - $count;
if ($sharePolicy == 'groups_only') {
- $users = OC_Group::DisplayNamesInGroups($groups, $_GET['search'], $limit, $offset);
+ $users = OC_Group::DisplayNamesInGroups($usergroups, $_GET['search'], $limit, $offset);
} else {
$users = OC_User::getDisplayNames($_GET['search'], $limit, $offset);
}