diff --git a/src/Plugin/GeoclusterAlgorithm/GeohashGeoclusterAlgorithm.php b/src/Plugin/GeoclusterAlgorithm/GeohashGeoclusterAlgorithm.php index 79566af..ae3513c 100644 --- a/src/Plugin/GeoclusterAlgorithm/GeohashGeoclusterAlgorithm.php +++ b/src/Plugin/GeoclusterAlgorithm/GeohashGeoclusterAlgorithm.php @@ -75,7 +75,7 @@ abstract class GeohashGeoclusterAlgorithm extends GeoclusterAlgorithmBase { */ protected function finalizeClusters() { foreach ($this->values as &$value) { - if ($value->geocluster_count > 1) { + if (isset($value->geocluster_count) && $value->geocluster_count > 1) { $value->clustered = TRUE; } }