From fec4c3c30189a771e177d585b8d4ad95e697fc00 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Sun, 4 Mar 2012 14:40:13 +0100 Subject: [PATCH] create proper token array for unknown housenumbers --- website/search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')); } } -- 2.39.5