Commit 7fe76550 authored by Thomas Müller's avatar Thomas Müller
Browse files

The full name has to be tested if it's a dir - fixes #19854

parent 008082eb
......@@ -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