]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib-php/template/address-geojson.php
fix more missing braces on one-liners
[nominatim.git] / lib-php / template / address-geojson.php
index 135504d38ab2ec296fdadadf326df7969d02282c..0dd96f212727963598f3a7d36e1bf567b194bac2 100644 (file)
@@ -15,7 +15,9 @@ if (empty($aPlace)) {
                         'properties' => array()
                        );
 
-    if (isset($aPlace['place_id'])) $aFilteredPlaces['properties']['place_id'] = $aPlace['place_id'];
+    if (isset($aPlace['place_id'])) {
+        $aFilteredPlaces['properties']['place_id'] = $aPlace['place_id'];
+    }
     $sOSMType = formatOSMType($aPlace['osm_type']);
     if ($sOSMType) {
         $aFilteredPlaces['properties']['osm_type'] = $sOSMType;