diff --git a/includes/locations/abstract-acf-location.php b/includes/locations/abstract-acf-location.php index 8446fb1c..28914e59 100644 --- a/includes/locations/abstract-acf-location.php +++ b/includes/locations/abstract-acf-location.php @@ -175,7 +175,7 @@ public function compare_to_rule( $value, $rule ) { $result = ( $value == $rule['value'] ); // Allow "all" to match any value. - if ( $rule['value'] === 'all' ) { + if ( $value === 'all' ) { $result = true; }