summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/private/files/view.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/files/view.php b/lib/private/files/view.php
index 93d2c15c50b..31ec8cfacff 100644
--- a/lib/private/files/view.php
+++ b/lib/private/files/view.php
@@ -996,6 +996,7 @@ class View {
break;
}
}
+ $rootEntry['path'] = substr($path . '/' . $rootEntry['name'], strlen($user) + 2); // full path without /$user/
$files[] = new FileInfo($path . '/' . $rootEntry['name'], $subStorage, '', $rootEntry);
}
}