mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
fix: fix getNodeFromCacheEntryAndMount using relative path
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
c5dc90dde9
commit
8edca98e8e
1 changed files with 2 additions and 2 deletions
|
|
@ -522,9 +522,9 @@ class Root extends Folder implements IRootFolder {
|
|||
$isDir = $info->getType() === FileInfo::TYPE_FOLDER;
|
||||
$view = new View('');
|
||||
if ($isDir) {
|
||||
return new Folder($this, $view, $path, $info, $parent);
|
||||
return new Folder($this, $view, $fullPath, $info, $parent);
|
||||
} else {
|
||||
return new File($this, $view, $path, $info, $parent);
|
||||
return new File($this, $view, $fullPath, $info, $parent);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue