diff options
author | Robin Appelman <robin@icewind.nl> | 2016-06-06 17:01:55 +0200 |
---|---|---|
committer | Thomas Müller <DeepDiver1975@users.noreply.github.com> | 2016-06-06 17:01:55 +0200 |
commit | 7a0254b15bd2b4aa9680791a2ecbb740b997003d (patch) | |
tree | 23da55cd4c126dfcf991929390a9e236cfa74589 /apps/files_sharing | |
parent | 371a07e3abc654386cdcc595a4d5b54a7cd866fc (diff) | |
download | nextcloud-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.php | 2 |
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'])) { |