aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/files/stream/encryption.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/files/stream/encryption.php')
-rw-r--r--lib/private/files/stream/encryption.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/stream/encryption.php b/lib/private/files/stream/encryption.php
index 2ec15251a23..79493311a43 100644
--- a/lib/private/files/stream/encryption.php
+++ b/lib/private/files/stream/encryption.php
@@ -232,7 +232,7 @@ class Encryption extends Wrapper {
$sharePath = $this->fullPath;
if (!$this->storage->file_exists($this->internalPath)) {
- $sharePath = dirname($path);
+ $sharePath = dirname($sharePath);
}
$accessList = $this->file->getAccessList($sharePath);