]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix updateFolder() in OC_FileCache
authorMichael Gapczynski <GapczynskiM@gmail.com>
Mon, 7 May 2012 00:11:10 +0000 (20:11 -0400)
committerMichael Gapczynski <GapczynskiM@gmail.com>
Mon, 7 May 2012 00:11:10 +0000 (20:11 -0400)
lib/filecache.php

index 091a7939e1a909df802100c2a1b041819f6dfa3e..8763865c8c3e850150507e494580aeaa1d51cb51 100644 (file)
@@ -655,7 +655,7 @@ class OC_FileCache{
                }else{
                        $view=new OC_FilesystemView(($root=='/')?'':$root);
                }
-               $dh=$view->opendir($path);
+               $dh=$view->opendir($path.'/');
                if($dh){//check for changed/new files
                        while (($filename = readdir($dh)) !== false) {
                                if($filename != '.' and $filename != '..'){