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 Arthur Schiwon
parent c4b80b86db
commit e7a55c4fef
No known key found for this signature in database
GPG key ID: 7424F1874854DF23

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