Merge pull request #19861 from owncloud/fix-streamed-download-of-subfolders-master
The full name has to be tested if it's a dir
This commit is contained in:
commit
3d4e0ba4e7
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue