Skip to content

Commit 40fd1c4

Browse files
committed
fix: fix getNodeFromCacheEntryAndMount using relative path
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 parent 0a2401a commit 40fd1c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/private/Files/Node/Root.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -522,9 +522,9 @@ public function getNodeFromCacheEntryAndMount(ICacheEntry $cacheEntry, IMountPoi
522522
$isDir = $info->getType() === FileInfo::TYPE_FOLDER;
523523
$view = new View('');
524524
if ($isDir) {
525-
return new Folder($this, $view, $path, $info, $parent);
525+
return new Folder($this, $view, $fullPath, $info, $parent);
526526
} else {
527-
return new File($this, $view, $path, $info, $parent);
527+
return new File($this, $view, $fullPath, $info, $parent);
528528
}
529529
}
530530
}

0 commit comments

Comments
 (0)