diff options
Diffstat (limited to 'lib/private/helper.php')
-rw-r--r-- | lib/private/helper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/helper.php b/lib/private/helper.php index 4ad792dfb13..e9ca036a32c 100644 --- a/lib/private/helper.php +++ b/lib/private/helper.php @@ -407,7 +407,7 @@ class OC_Helper { if (is_dir($dir)) { $files = scandir($dir); foreach ($files as $file) { - if ($file != "." && $file != "..") { + if ($file !== '' && $file !== "." && $file !== "..") { self::rmdirr("$dir/$file"); } } |