mirror of
https://github.com/nextcloud/server.git
synced 2024-08-27 05:55:24 +02:00
handle path not being set in shared cache (#24993)
This commit is contained in:
parent
371a07e3ab
commit
7a0254b15b
@ -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'])) {
|
||||
|
Loading…
Reference in New Issue
Block a user