diff options
Diffstat (limited to 'lib/private/files.php')
-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; } |