diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-10-19 15:03:48 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-10-19 15:03:48 +0200 |
commit | 3d4e0ba4e7d6e4b3e9aaf943e3d74d1a5ee9acd2 (patch) | |
tree | 2b7eab62493acfda9f212b1d64c03a8194485e36 | |
parent | 008082ebadff5f029484c5aa351c3bde11c802d6 (diff) | |
parent | 7fe7655070c3b4fc206af79b7a7b2573c271cce1 (diff) | |
download | nextcloud-server-3d4e0ba4e7d6e4b3e9aaf943e3d74d1a5ee9acd2.tar.gz nextcloud-server-3d4e0ba4e7d6e4b3e9aaf943e3d74d1a5ee9acd2.zip |
Merge pull request #19861 from owncloud/fix-streamed-download-of-subfolders-master
The full name has to be tested if it's a dir
-rw-r--r-- | lib/private/files.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files.php b/lib/private/files.php index e24e10ec299..919ca4ba71c 100644 --- a/lib/private/files.php +++ b/lib/private/files.php @@ -86,7 +86,7 @@ class OC_Files { if (!is_array($files)) { $filename = $dir . '/' . $files; - if (!$view->is_dir($files)) { + if (!$view->is_dir($filename)) { self::getSingleFile($view, $dir, $files, $onlyHeader); return; } |