summaryrefslogtreecommitdiffstats
path: root/lib/private/files
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/files')
-rw-r--r--lib/private/files/node/folder.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/files/node/folder.php b/lib/private/files/node/folder.php
index e8c49cd2c0b..c376bfb1881 100644
--- a/lib/private/files/node/folder.php
+++ b/lib/private/files/node/folder.php
@@ -100,9 +100,9 @@ class Folder extends Node implements \OCP\Files\Folder {
$isDir = $info['mimetype'] === 'httpd/unix-directory';
}
if ($isDir) {
- return new Folder($this->root, $this->view, $path);
+ return new Folder($this->root, $this->view, $path, $info);
} else {
- return new File($this->root, $this->view, $path);
+ return new File($this->root, $this->view, $path, $info);
}
}