mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-12-25 14:02:12 +03:00
create proper token array for unknown housenumbers
This commit is contained in:
parent
0005dc0a0f
commit
fec4c3c301
@ -379,7 +379,7 @@
|
||||
// Unknown single word token with a number - assume it is a house number
|
||||
if (!isset($aValidTokens[' '.$sToken]) && strpos($sToken,' ') === false && preg_match('/[0-9]/', $sToken))
|
||||
{
|
||||
$aValidTokens[' '.$sToken] = array('class'=>'place','type'=>'house');
|
||||
$aValidTokens[' '.$sToken] = array(array('class'=>'place','type'=>'house'));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user