diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/ajax/share.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/ajax/share.php b/core/ajax/share.php index 21e320a4732..c251f8e7bae 100644 --- a/core/ajax/share.php +++ b/core/ajax/share.php @@ -355,7 +355,8 @@ if (isset($_POST['action']) && isset($_POST['itemType']) && isset($_POST['itemSo } } $sorter = new \OC\Share\SearchResultSorter($_GET['search'], - 'label'); + 'label', + new \OC\Log()); usort($shareWith, array($sorter, 'sort')); OC_JSON::success(array('data' => $shareWith)); } |