From: Paul Ramsey Date: Fri, 6 Nov 2015 21:14:04 +0000 (+0000) Subject: Remove issue with json parsing X-Git-Tag: 2.3.0beta1~388 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=378e21a578e9594317553170874d64717c907923;p=postgis Remove issue with json parsing git-svn-id: http://svn.osgeo.org/postgis/trunk@14364 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/liblwgeom/lwin_geojson.c b/liblwgeom/lwin_geojson.c index e645c23e0..b605814af 100644 --- a/liblwgeom/lwin_geojson.c +++ b/liblwgeom/lwin_geojson.c @@ -399,7 +399,7 @@ parse_geojson_multipolygon(json_object *geojson, int *hasz, int root_srid) { json_object* points = json_object_array_get_idx( poObjPoly, j ); - if( json_type_array == json_object_get_type( poObjPoly ) ) + if( json_type_array == json_object_get_type( points ) ) { POINTARRAY *pa = ptarray_construct_empty(1, 0, 1);