Commit 3d4e0ba4 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Merge pull request #19861 from owncloud/fix-streamed-download-of-subfolders-master

The full name has to be tested if it's a dir
parents 008082eb 7fe76550
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment