$aFilteredPlaces['display_name'] = $aPlace['langaddress'];
- if (isset($aPlace['aAddress'])) $aFilteredPlaces['address'] = $aPlace['aAddress'];
+ if (isset($aPlace['address'])) {
+ $aFilteredPlaces['address'] = $aPlace['address']->getAddressNames();
+ }
if (isset($aPlace['sExtraTags'])) $aFilteredPlaces['extratags'] = $aPlace['sExtraTags'];
if (isset($aPlace['sNameDetails'])) $aFilteredPlaces['namedetails'] = $aPlace['sNameDetails'];