From a14432117ac830666e7427c0ce9ddc800d6c268e Mon Sep 17 00:00:00 2001 From: Guilliam Xavier Date: Sat, 25 Jun 2016 18:16:00 +0200 Subject: [PATCH] Fix MetadataFilter not testing filters after first --- lib/Doctrine/ORM/Tools/Console/MetadataFilter.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/Doctrine/ORM/Tools/Console/MetadataFilter.php b/lib/Doctrine/ORM/Tools/Console/MetadataFilter.php index 5a72b7d6d..cb55d68a6 100644 --- a/lib/Doctrine/ORM/Tools/Console/MetadataFilter.php +++ b/lib/Doctrine/ORM/Tools/Console/MetadataFilter.php @@ -84,10 +84,6 @@ class MetadataFilter extends \FilterIterator implements \Countable ); } - if ($pregResult === 0) { - return false; - } - if ($pregResult) { return true; }