diff options
author | icewind1991 <icewind1991@gmail.com> | 2013-02-09 08:25:25 -0800 |
---|---|---|
committer | icewind1991 <icewind1991@gmail.com> | 2013-02-09 08:25:25 -0800 |
commit | 5a309c11ca90589303c38084795432d3d23e393d (patch) | |
tree | 221b448b79b55139cf30a1a305ec34ee5578f1f8 /lib/files | |
parent | 60411f7d3d676e4ed83262b1066e7ce4a7dc904f (diff) | |
parent | 420b63cbe48a37204762953332bbc2973217661f (diff) | |
download | nextcloud-server-5a309c11ca90589303c38084795432d3d23e393d.tar.gz nextcloud-server-5a309c11ca90589303c38084795432d3d23e393d.zip |
Merge pull request #1572 from owncloud/fix_empty_path_handling
fix empty path handling
Diffstat (limited to 'lib/files')
-rw-r--r-- | lib/files/cache/scanner.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/files/cache/scanner.php b/lib/files/cache/scanner.php index 8d504af6163..9a5546dce3f 100644 --- a/lib/files/cache/scanner.php +++ b/lib/files/cache/scanner.php @@ -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); } |