aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2016-06-06 17:01:55 +0200
committerThomas Müller <DeepDiver1975@users.noreply.github.com>2016-06-06 17:01:55 +0200
commit7a0254b15bd2b4aa9680791a2ecbb740b997003d (patch)
tree23da55cd4c126dfcf991929390a9e236cfa74589 /apps/files_sharing
parent371a07e3abc654386cdcc595a4d5b54a7cd866fc (diff)
downloadnextcloud-server-7a0254b15bd2b4aa9680791a2ecbb740b997003d.tar.gz
nextcloud-server-7a0254b15bd2b4aa9680791a2ecbb740b997003d.zip
handle path not being set in shared cache (#24993)
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/lib/Cache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/Cache.php b/apps/files_sharing/lib/Cache.php
index 82d885a8ef3..a0519cadbaa 100644
--- a/apps/files_sharing/lib/Cache.php
+++ b/apps/files_sharing/lib/Cache.php
@@ -81,7 +81,7 @@ class Cache extends CacheJail {
}
protected function formatCacheEntry($entry) {
- $path = $entry['path'];
+ $path = isset($entry['path']) ? $entry['path'] : '';
$entry = parent::formatCacheEntry($entry);
$sharePermissions = $this->storage->getPermissions($path);
if (isset($entry['permissions'])) {