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

pull/25/head
Robin Appelman 9 years ago committed by Arthur Schiwon
parent c4b80b86db
commit e7a55c4fef
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
  1. 2
      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'])) {

Loading…
Cancel
Save