Merge pull request #24535 from nextcloud/fix/multiple_file_download

Fix the download of multiple files from the webUI
This commit is contained in:
Roeland Jago Douma 2020-12-03 18:59:39 +01:00 committed by GitHub
commit 7d9004c885
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -109,6 +109,7 @@ class OC_Files {
* @param array $params ; 'head' boolean to only send header of the request ; 'range' http range header * @param array $params ; 'head' boolean to only send header of the request ; 'range' http range header
*/ */
public static function get($dir, $files, $params = null) { public static function get($dir, $files, $params = null) {
OC_Util::setupFS();
$view = \OC\Files\Filesystem::getView(); $view = \OC\Files\Filesystem::getView();
$getType = self::FILE; $getType = self::FILE;
$filename = $dir; $filename = $dir;