diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-04-15 09:02:01 +0200 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-04-19 14:04:00 +0200 |
commit | afa37d363fe1bedfe85a4dbd53adb091f3b014b2 (patch) | |
tree | 7724697e16c71aa4c8ac67d1c09d6520459a3fcd /apps | |
parent | 6123badbfa22b79167c4b41f84a38b372f033a2e (diff) | |
download | nextcloud-server-afa37d363fe1bedfe85a4dbd53adb091f3b014b2.tar.gz nextcloud-server-afa37d363fe1bedfe85a4dbd53adb091f3b014b2.zip |
Fix related logic
Diffstat (limited to 'apps')
-rw-r--r-- | apps/dav/lib/connector/sabre/node.php | 2 |
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); } |