Convert importance to float value

Fixes #1369.
This commit is contained in:
Sarah Hoffmann 2019-04-30 23:21:53 +02:00
parent 1707157c4d
commit 6511ec3aa8

View File

@ -428,6 +428,7 @@ class PlaceLookup
$aPlaces = $this->oDB->getAll($sSQL, null, 'Could not lookup place');
foreach ($aPlaces as &$aPlace) {
$aPlace['importance'] = (float) $aPlace['importance'];
if ($this->bAddressDetails) {
// to get addressdetails for tiger data, the housenumber is needed
$aPlace['address'] = new AddressDetails(