]> source.dussan.org Git - nextcloud-server.git/commitdiff
Call the proper function
authorRoeland Jago Douma <roeland@famdouma.nl>
Tue, 24 Mar 2015 20:43:26 +0000 (21:43 +0100)
committerRoeland Jago Douma <roeland@famdouma.nl>
Tue, 24 Mar 2015 20:45:31 +0000 (21:45 +0100)
* Fix for #6967

core/ajax/share.php

index d8aec9c654293994d3f327d5e6127408b8ff379c..d5f50c23ae918ef193a19fdf18bec46541570c3d 100644 (file)
@@ -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);
                                        }