summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/ajax/getitem.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/ajax/getitem.php')
-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) {