From: Sarah Hoffmann Date: Sun, 4 Mar 2012 13:40:13 +0000 (+0100) Subject: create proper token array for unknown housenumbers X-Git-Tag: v2.0.0~107 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/fec4c3c30189a771e177d585b8d4ad95e697fc00 create proper token array for unknown housenumbers --- diff --git a/website/search.php b/website/search.php index f4b9b924..c6aa05d1 100755 --- a/website/search.php +++ b/website/search.php @@ -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')); } }