summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-04-15 09:02:01 +0200
committerRoeland Jago Douma <rullzer@owncloud.com>2016-04-19 14:04:00 +0200
commitafa37d363fe1bedfe85a4dbd53adb091f3b014b2 (patch)
tree7724697e16c71aa4c8ac67d1c09d6520459a3fcd /apps
parent6123badbfa22b79167c4b41f84a38b372f033a2e (diff)
downloadnextcloud-server-afa37d363fe1bedfe85a4dbd53adb091f3b014b2.tar.gz
nextcloud-server-afa37d363fe1bedfe85a4dbd53adb091f3b014b2.zip
Fix related logic
Diffstat (limited to 'apps')
-rw-r--r--apps/dav/lib/connector/sabre/node.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/connector/sabre/node.php b/apps/dav/lib/connector/sabre/node.php
index eaba6713992..979149fc937 100644
--- a/apps/dav/lib/connector/sabre/node.php
+++ b/apps/dav/lib/connector/sabre/node.php
@@ -224,7 +224,7 @@ abstract class Node implements \Sabre\DAV\INode {
if ($storage->instanceOfStorage('\OC\Files\Storage\Shared')) {
/** @var \OC\Files\Storage\Shared $storage */
- $permissions = (int)$storage->getShare()['permissions'];
+ $permissions = (int)$storage->getShare()->getPermissions();
} else {
$permissions = $storage->getPermissions($path);
}