summaryrefslogtreecommitdiffstats
path: root/core/ajax
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2012-09-09 11:50:12 -0400
committerMichael Gapczynski <mtgap@owncloud.com>2012-09-09 11:50:12 -0400
commit13d513c17c264a3bbb1b2c874bb742afbce76e10 (patch)
treef23ec9510bc0edaf16d9c58f9de0fbb253a1a4ad /core/ajax
parent3e7951e1e6d8928e1c2e47d25489635d337cac04 (diff)
downloadnextcloud-server-13d513c17c264a3bbb1b2c874bb742afbce76e10.tar.gz
nextcloud-server-13d513c17c264a3bbb1b2c874bb742afbce76e10.zip
Fix shared collection item searching
Diffstat (limited to 'core/ajax')
-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 3ace97d4d02..5b6763c08e7 100644
--- a/core/ajax/share.php
+++ b/core/ajax/share.php
@@ -72,7 +72,7 @@ if (isset($_POST['action']) && isset($_POST['itemType']) && isset($_POST['itemSo
$reshare = false;
}
if ($_GET['checkShares'] == 'true') {
- $shares = OCP\Share::getItemShared($_GET['itemType'], $_GET['itemSource']);
+ $shares = OCP\Share::getItemShared($_GET['itemType'], $_GET['itemSource'], OCP\Share::FORMAT_NONE, null, true);
} else {
$shares = false;
}