Skip to content
Snippets Groups Projects
Commit 5a309c11 authored by Robin Appelman's avatar Robin Appelman
Browse files

Merge pull request #1572 from owncloud/fix_empty_path_handling

fix empty path handling
parents 60411f7d 420b63cb
No related branches found
No related tags found
No related merge requests found
......@@ -138,7 +138,7 @@ class Scanner {
* walk over any folders that are not fully scanned yet and scan them
*/
public function backgroundScan() {
while ($path = $this->cache->getIncomplete()) {
while (($path = $this->cache->getIncomplete()) !== false) {
$this->scan($path);
$this->cache->correctFolderSize($path);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment