Skip to content
Snippets Groups Projects
Commit aa0c3ddc authored by Michael Gapczynski's avatar Michael Gapczynski
Browse files

Fix updateFolder() in OC_FileCache

parent 41179a14
No related branches found
No related tags found
No related merge requests found
...@@ -655,7 +655,7 @@ class OC_FileCache{ ...@@ -655,7 +655,7 @@ class OC_FileCache{
}else{ }else{
$view=new OC_FilesystemView(($root=='/')?'':$root); $view=new OC_FilesystemView(($root=='/')?'':$root);
} }
$dh=$view->opendir($path); $dh=$view->opendir($path.'/');
if($dh){//check for changed/new files if($dh){//check for changed/new files
while (($filename = readdir($dh)) !== false) { while (($filename = readdir($dh)) !== false) {
if($filename != '.' and $filename != '..'){ if($filename != '.' and $filename != '..'){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment