Correct the path returned by getFolderContent for substorages

This commit is contained in:
Robin Appelman 2014-04-25 13:56:45 +02:00
parent c53c4b9791
commit 672a8248ce
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}
}