Merge pull request #1572 from owncloud/fix_empty_path_handling
fix empty path handling
This commit is contained in:
commit
5a309c11ca
1 changed files with 1 additions and 1 deletions
2
lib/files/cache/scanner.php
vendored
2
lib/files/cache/scanner.php
vendored
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue