summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/ajax
diff options
context:
space:
mode:
authorMichael Gapczynski <GapczynskiM@gmail.com>2011-12-17 21:12:36 -0500
committerMichael Gapczynski <GapczynskiM@gmail.com>2011-12-17 21:13:54 -0500
commit9e50cecf2750270e5c60a2c3fbdad5f95cdeee39 (patch)
treec005e54d96d6f0f4ee2c054017d9537bcd7faecf /apps/files_sharing/ajax
parentdc641943d9245b371eca1928a64bcadfe72f9cf6 (diff)
downloadnextcloud-server-9e50cecf2750270e5c60a2c3fbdad5f95cdeee39.tar.gz
nextcloud-server-9e50cecf2750270e5c60a2c3fbdad5f95cdeee39.zip
Fix shared status for files inside a shared folder
Diffstat (limited to 'apps/files_sharing/ajax')
-rw-r--r--apps/files_sharing/ajax/getitem.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/ajax/getitem.php b/apps/files_sharing/ajax/getitem.php
index d9df4abe984..51fda6aed40 100644
--- a/apps/files_sharing/ajax/getitem.php
+++ b/apps/files_sharing/ajax/getitem.php
@@ -19,6 +19,7 @@ $source = dirname($source);
while ($source != "" && $source != "/" && $source != "." && $source != $userDirectory) {
if ($values = OC_Share::getMySharedItem($source)) {
$values = array_values($values);
+ $users = array();
$parentUsers = array();
for ($i = 0; $i < count($values); $i++) {
if ($values[$i]['uid_shared_with'] == OC_Share::PUBLICLINK) {