We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 630b2ff + cfc1c7c commit edb4a68Copy full SHA for edb4a68
lib/private/Files/Config/CachedMountInfo.php
@@ -98,7 +98,7 @@ public function getMountPointNode() {
98
// TODO injection etc
99
Filesystem::initMountPoints($this->getUser()->getUID());
100
$userNode = \OC::$server->getUserFolder($this->getUser()->getUID());
101
- $nodes = $userNode->getById($this->getRootId());
+ $nodes = $userNode->getParent()->getById($this->getRootId());
102
if (count($nodes) > 0) {
103
return $nodes[0];
104
} else {
0 commit comments