handle path not being set in shared cache (#24993)

This commit is contained in:
Robin Appelman 2016-06-06 17:01:55 +02:00 committed by Thomas Müller
parent 371a07e3ab
commit 7a0254b15b
1 changed files with 1 additions and 1 deletions

View File

@ -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'])) {