summaryrefslogtreecommitdiffstats
path: root/lib/private/files/storage
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2015-09-23 13:59:37 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2015-09-23 13:59:37 +0200
commit52cbaff061b93cb1a5e81623e58e14867c818810 (patch)
treebf0c1fc569c1b31a00e73de272d7917202adc10d /lib/private/files/storage
parentee649d58c5f82ee209ddc1812c1a896da53de707 (diff)
downloadnextcloud-server-52cbaff061b93cb1a5e81623e58e14867c818810.tar.gz
nextcloud-server-52cbaff061b93cb1a5e81623e58e14867c818810.zip
use correct variable
wow ... just wow ...
Diffstat (limited to 'lib/private/files/storage')
-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) {