summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-12-03 18:59:39 +0100
committerGitHub <noreply@github.com>2020-12-03 18:59:39 +0100
commit7d9004c8855fff982e2383d485cf991ba5f55593 (patch)
tree4f8749a30064ee1178cf1a7299d87d95957ed40c /lib
parentfc57f60ece173d3f3b13a2d88e8b5db83ea6427e (diff)
parentc9cd633665286041c69f4a3444dd0401975a90fc (diff)
downloadnextcloud-server-7d9004c8855fff982e2383d485cf991ba5f55593.tar.gz
nextcloud-server-7d9004c8855fff982e2383d485cf991ba5f55593.zip
Merge pull request #24535 from nextcloud/fix/multiple_file_download
Fix the download of multiple files from the webUI
Diffstat (limited to 'lib')
-rw-r--r--lib/private/legacy/OC_Files.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/legacy/OC_Files.php b/lib/private/legacy/OC_Files.php
index 8b3ce2d0291..90aff098cd6 100644
--- a/lib/private/legacy/OC_Files.php
+++ b/lib/private/legacy/OC_Files.php
@@ -109,6 +109,7 @@ class OC_Files {
* @param array $params ; 'head' boolean to only send header of the request ; 'range' http range header
*/
public static function get($dir, $files, $params = null) {
+ OC_Util::setupFS();
$view = \OC\Files\Filesystem::getView();
$getType = self::FILE;
$filename = $dir;