Completed
Push — master ( 09d8db...9ac279 )
by Florian
05:02
created
Form/QueryType.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -132,8 +132,9 @@
 block discarded – undo
132 132
 	protected function generateFacetChoices($facetType, array $facets, array $selectedFacets = array(), $formatter) {
133 133
 		$choices = array();
134 134
 		foreach($facets as $facet => $count) {
135
-			if($count == 0 && !in_array($facet, $selectedFacets))
136
-				continue;
135
+			if($count == 0 && !in_array($facet, $selectedFacets)) {
136
+							continue;
137
+			}
137 138
 			$choices[$this->formatFacet($formatter, $facetType, $facet, $count)] = $facet;
138 139
 		}
139 140
 		foreach($selectedFacets as $facet) {
Please login to merge, or discard this patch.