From: Roeland Jago Douma Date: Tue, 24 Mar 2015 20:43:26 +0000 (+0100) Subject: Call the proper function X-Git-Tag: v8.1.0alpha1~117^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4163a5efadd5984010d455c7cbd848bd17d5450d;p=nextcloud-server.git Call the proper function * Fix for #6967 --- diff --git a/core/ajax/share.php b/core/ajax/share.php index d8aec9c6542..d5f50c23ae9 100644 --- a/core/ajax/share.php +++ b/core/ajax/share.php @@ -248,7 +248,7 @@ if (isset($_POST['action']) && isset($_POST['itemType']) && isset($_POST['itemSo while ($count < 15 && count($users) == $limit) { $limit = 15 - $count; if ($shareWithinGroupOnly) { - $users = OC_Group::DisplayNamesInGroups($usergroups, (string)$_GET['search'], $limit, $offset); + $users = OC_Group::displayNamesInGroups($usergroups, (string)$_GET['search'], $limit, $offset); } else { $users = OC_User::getDisplayNames((string)$_GET['search'], $limit, $offset); }