diff options
Diffstat (limited to 'apps/files_sharing/ajax/getstatuses.php')
-rw-r--r-- | apps/files_sharing/ajax/getstatuses.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/ajax/getstatuses.php b/apps/files_sharing/ajax/getstatuses.php index c1892e7e2a2..8edcb214758 100644 --- a/apps/files_sharing/ajax/getstatuses.php +++ b/apps/files_sharing/ajax/getstatuses.php @@ -14,7 +14,7 @@ if ($rows = OC_Share::getMySharedItems()) { $item = substr($source, $dirLength); if ($rows[$i]['uid_shared_with'] == OC_Share::PUBLICLINK) { $items[$item] = true; - } else { + } else if (!isset($items[$item])) { $items[$item] = false; } } |