create proper token array for unknown housenumbers

This commit is contained in:
Sarah Hoffmann 2012-03-04 14:40:13 +01:00
parent 0005dc0a0f
commit fec4c3c301

View File

@ -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'));
}
}