]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib-php/template/address-json.php
reduce from 3 to 2 packages
[nominatim.git] / lib-php / template / address-json.php
index 1a429acb3a2d44e730b300604c43b7f614879da9..0766eaf4a992a643501dfa7dde2f3ea5ca1bacb0 100644 (file)
@@ -63,7 +63,7 @@ if (empty($aPlace)) {
     }
 
     if (isset($aPlace['asgeojson'])) {
-        $aFilteredPlaces['geojson'] = json_decode($aPlace['asgeojson']);
+        $aFilteredPlaces['geojson'] = json_decode($aPlace['asgeojson'], true);
     }
 
     if (isset($aPlace['assvg'])) {