diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-02-11 11:54:44 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-02-11 11:54:44 +0100 |
commit | a1db280a464f3fd92b4ed19e676c4b3b013f88c8 (patch) | |
tree | c91ae4b48ecc29027b0469bdb5d699fc6294a28c | |
parent | 7fa9181a2697d343fce30124792fae664c9c0510 (diff) | |
download | nextcloud-server-a1db280a464f3fd92b4ed19e676c4b3b013f88c8.tar.gz nextcloud-server-a1db280a464f3fd92b4ed19e676c4b3b013f88c8.zip |
Share: fix downloading selected files from public shared folder
-rw-r--r-- | apps/files_sharing/public.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php index b478ac8a4ad..38d598f7780 100644 --- a/apps/files_sharing/public.php +++ b/apps/files_sharing/public.php @@ -113,7 +113,7 @@ if (isset($path)) { // Download the file if (isset($_GET['download'])) { if (isset($_GET['files'])) { // download selected files - OC_Files::get($dir, $_GET['files'], $_SERVER['REQUEST_METHOD'] == 'HEAD' ? true : false); + OC_Files::get($path, $_GET['files'], $_SERVER['REQUEST_METHOD'] == 'HEAD' ? true : false); } else { OC_Files::get($dir, $file, $_SERVER['REQUEST_METHOD'] == 'HEAD' ? true : false); } |