Merge pull request #24535 from nextcloud/fix/multiple_file_download
Fix the download of multiple files from the webUI
This commit is contained in:
commit
7d9004c885
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue