fix more missing braces on one-liners

This commit is contained in:
Sarah Hoffmann
2021-07-11 20:21:12 +02:00
parent 1e40d65aa9
commit 000d133af6
6 changed files with 31 additions and 11 deletions

View 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;