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 e68544d + 69883ac commit bf8b93eCopy full SHA for bf8b93e
1 file changed
core/Command/Info/FileUtils.php
@@ -85,7 +85,7 @@ public function getNode(string $fileInput): ?Node {
85
if (!$mounts) {
86
return null;
87
}
88
- $mount = $mounts[0];
+ $mount = reset($mounts);
89
$userFolder = $this->rootFolder->getUserFolder($mount->getUser()->getUID());
90
return $userFolder->getFirstNodeById((int)$fileInput);
91
} else {
0 commit comments