Skip to content

Commit edb4a68

Browse files
authored
Merge pull request #1348 from karakayasemi/patch-1
Bug fix CachedMountInfo for user home storage
2 parents 630b2ff + cfc1c7c commit edb4a68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/Files/Config/CachedMountInfo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public function getMountPointNode() {
9898
// TODO injection etc
9999
Filesystem::initMountPoints($this->getUser()->getUID());
100100
$userNode = \OC::$server->getUserFolder($this->getUser()->getUID());
101-
$nodes = $userNode->getById($this->getRootId());
101+
$nodes = $userNode->getParent()->getById($this->getRootId());
102102
if (count($nodes) > 0) {
103103
return $nodes[0];
104104
} else {

0 commit comments

Comments
 (0)