diff --git a/app/Validators/Extensions/Polygons/FeatureBounds.php b/app/Validators/Extensions/Polygons/FeatureBounds.php index 4f8bca13c..678eefaa2 100644 --- a/app/Validators/Extensions/Polygons/FeatureBounds.php +++ b/app/Validators/Extensions/Polygons/FeatureBounds.php @@ -37,7 +37,7 @@ public static function geoJsonValid($geojson): bool return self::hasValidPolygonBounds(data_get($geojson, 'geometry.coordinates.0')); } elseif ($type === 'MultiPolygon') { foreach (data_get($geojson, 'geometry.coordinates') as $coordinates) { - if (! self::hasValidPolygonBounds($coordinates)) { + if (! self::hasValidPolygonBounds($coordinates[0])) { return false; } }