summaryrefslogtreecommitdiffstats
path: root/lib/private/files
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-09-24 11:34:19 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-09-24 11:34:19 +0200
commit330ea18996f4f5bfcbaaebf641d6502757077c4d (patch)
treeaa967698a87351f6345133115c88b84451e87b3a /lib/private/files
parent4621d4ed210b11ad11090c53bf78d60a2e1d8b73 (diff)
parent17ef187681fa781afb0cd6f318edc58d70156c74 (diff)
downloadnextcloud-server-330ea18996f4f5bfcbaaebf641d6502757077c4d.tar.gz
nextcloud-server-330ea18996f4f5bfcbaaebf641d6502757077c4d.zip
Merge pull request #19303 from owncloud/usecorrectvariable
Use correct variable
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) {