From 350750fe32cc5fff16ee1ce87351b2f37d6da9f9 Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Mon, 8 Jun 2015 14:41:23 +0200 Subject: [PATCH] fixing m_bro not knowing how to delete files names 0 --- bureau/class/m_bro.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bureau/class/m_bro.php b/bureau/class/m_bro.php index 80aacadf..5f758474 100644 --- a/bureau/class/m_bro.php +++ b/bureau/class/m_bro.php @@ -1110,7 +1110,7 @@ class m_bro { $err->log("bro", "_delete($file)"); if (is_dir($file)) { $handle=opendir($file); - while($filename=readdir($handle)) { + while (($filename=readdir($handle)) !== false) { if ($filename != "." && $filename != "..") { $this->_delete($file."/".$filename); }