From c9cd633665286041c69f4a3444dd0401975a90fc Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma <roeland@famdouma.nl> Date: Thu, 3 Dec 2020 13:20:01 +0100 Subject: [PATCH] Fix the download of multiple files from the webUI needed a setupFS call Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> --- lib/private/legacy/OC_Files.php | 1 + 1 file changed, 1 insertion(+) 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; -- GitLab