diff options
| -rw-r--r-- | phpBB/phpbb/recursive_dot_prefix_filter_iterator.php | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/recursive_dot_prefix_filter_iterator.php b/phpBB/phpbb/recursive_dot_prefix_filter_iterator.php index 2500ba0cf8..1446551b8b 100644 --- a/phpBB/phpbb/recursive_dot_prefix_filter_iterator.php +++ b/phpBB/phpbb/recursive_dot_prefix_filter_iterator.php @@ -25,6 +25,6 @@ class recursive_dot_prefix_filter_iterator extends \RecursiveFilterIterator  	public function accept()  	{  		$filename = $this->current()->getFilename(); -		return !$this->current()->isDir() || $filename[0] !== '.'; +		return $filename[0] !== '.' || !$this->current()->isDir();  	}  }  | 
