fixing m_bro not knowing how to delete files names 0

This commit is contained in:
Benjamin Sonntag 2015-06-08 14:41:23 +02:00
parent a87d5828e2
commit 350750fe32
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}