diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-09-05 22:48:08 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-09-19 13:28:04 +0200 |
commit | 43f73ad808d504b7447b518f38ef89286133067e (patch) | |
tree | 3d4eeedb65b3e24bd25a6bbf57ae9eb23770356f /apps | |
parent | 4cc8cdc276e07a3449f55d9ba7264a44b58961ea (diff) | |
download | nextcloud-server-43f73ad808d504b7447b518f38ef89286133067e.tar.gz nextcloud-server-43f73ad808d504b7447b518f38ef89286133067e.zip |
Fix shared cache
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/lib/Cache.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/Cache.php b/apps/files_sharing/lib/Cache.php index 352001ecbd4..f3712ead58b 100644 --- a/apps/files_sharing/lib/Cache.php +++ b/apps/files_sharing/lib/Cache.php @@ -142,7 +142,7 @@ class Cache extends CacheJail { } else { $entry['path'] = $path; } - $sharePermissions = $this->storage->getPermissions($path); + $sharePermissions = $this->storage->getPermissions($entry['path']); if (isset($entry['permissions'])) { $entry['permissions'] &= $sharePermissions; } else { |