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

pull/31/head^2
Robin Appelman 10 years ago committed by Thomas Müller
parent 371a07e3ab
commit 7a0254b15b
  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