Skip to content
Snippets Groups Projects
Commit 420b63cb authored by Jörn Friedrich Dreyer's avatar Jörn Friedrich Dreyer
Browse files

fix empty path handling

parent 0c73cae7
Branches
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.
Please register or to comment