diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-04-25 13:56:45 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-04-25 13:56:45 +0200 |
commit | 672a8248ce185cb38a6b8ae9617eb0e6bb186f8b (patch) | |
tree | 5c67073d10c292270757cd8de3d6482209f2bcfc | |
parent | c53c4b9791914a7449adc1d73b2e66189100328b (diff) | |
download | nextcloud-server-672a8248ce185cb38a6b8ae9617eb0e6bb186f8b.tar.gz nextcloud-server-672a8248ce185cb38a6b8ae9617eb0e6bb186f8b.zip |
Correct the path returned by getFolderContent for substorages
-rw-r--r-- | lib/private/files/view.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/files/view.php b/lib/private/files/view.php index 58dfc73dcf3..5a3872e66e0 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); } } |