Merge pull request #1572 from owncloud/fix_empty_path_handling

fix empty path handling
This commit is contained in:
icewind1991 2013-02-09 08:25:25 -08:00
commit 5a309c11ca

View file

@ -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);
}