summaryrefslogtreecommitdiffstats
path: root/lib/private/files
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2015-09-23 13:59:37 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-09-23 23:41:39 +0200
commit8b90a55831b2da00ee7d71878eb69d975f7a2424 (patch)
treeabf70d97f2015ca1d0e55238d1a30f9aab576648 /lib/private/files
parent1191dda0d88c25cbc02de7752e7d9ef81b9f8b9f (diff)
downloadnextcloud-server-8b90a55831b2da00ee7d71878eb69d975f7a2424.tar.gz
nextcloud-server-8b90a55831b2da00ee7d71878eb69d975f7a2424.zip
use correct variable
wow ... just wow ...
Diffstat (limited to 'lib/private/files')
-rw-r--r--lib/private/files/storage/wrapper/permissionsmask.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/storage/wrapper/permissionsmask.php b/lib/private/files/storage/wrapper/permissionsmask.php
index 50c3f2a6268..8d40d023630 100644
--- a/lib/private/files/storage/wrapper/permissionsmask.php
+++ b/lib/private/files/storage/wrapper/permissionsmask.php
@@ -66,7 +66,7 @@ class PermissionsMask extends Wrapper {
}
public function isSharable($path) {
- return $this->checkMask(Constants::PERMISSION_SHARE) and parent::isSharable($parm);
+ return $this->checkMask(Constants::PERMISSION_SHARE) and parent::isSharable($path);
}
public function getPermissions($path) {