diff options
author | kondou <kondou@ts.unde.re> | 2013-08-20 17:20:30 +0200 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2013-08-20 17:20:30 +0200 |
commit | f1518a54dffb4a309da3952e154b71d4bc9482f8 (patch) | |
tree | b6faeec269eb8904c5c8f42732e5466758fdeb0e /lib/files/cache/scanner.php | |
parent | 65d802329f8307cd010a306073d2d3ffd7dc7b74 (diff) | |
parent | de949b1caa4491a8016ed5e609fc781526fea54d (diff) | |
download | nextcloud-server-f1518a54dffb4a309da3952e154b71d4bc9482f8.tar.gz nextcloud-server-f1518a54dffb4a309da3952e154b71d4bc9482f8.zip |
Merge branch 'master' into clean_up_util
Conflicts:
lib/util.php
Diffstat (limited to 'lib/files/cache/scanner.php')
-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 597eabecf54..87fa7c1365a 100644 --- a/lib/files/cache/scanner.php +++ b/lib/files/cache/scanner.php @@ -159,7 +159,7 @@ class Scanner extends BasicEmitter { $newChildren = array(); if ($this->storage->is_dir($path) && ($dh = $this->storage->opendir($path))) { \OC_DB::beginTransaction(); - while ($file = readdir($dh)) { + while (($file = readdir($dh)) !== false) { $child = ($path) ? $path . '/' . $file : $file; if (!Filesystem::isIgnoredDir($file)) { $newChildren[] = $file; |