Index: trunk/extensions/EducationProgram/includes/EPPager.php |
— | — | @@ -216,7 +216,7 @@ |
217 | 217 | |
218 | 218 | if ( $hideWhenNoResults && $this->getNumRows() < 1 ) { |
219 | 219 | $noFiltersSet = array_reduce( $filterOptions, function( $current, array $data ) { |
220 | | - return $current && $data['value'] !== '' && !is_null( $data['value'] ); |
| 220 | + return $current && ( $data['value'] === '' || is_null( $data['value'] ) ); |
221 | 221 | }, true ); |
222 | 222 | |
223 | 223 | if ( $noFiltersSet ) { |