From: Brian Quinion Date: Tue, 6 Nov 2012 20:04:31 +0000 (+0000) Subject: mising string concatenation (.) X-Git-Tag: v2.2.0~191 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/3c1b21d61c083e3b83e0c47bd981e0e613e1a883 mising string concatenation (.) --- diff --git a/website/search.php b/website/search.php index ee7979dc..541d5ec4 100755 --- a/website/search.php +++ b/website/search.php @@ -935,7 +935,7 @@ { // If they were searching for a named class (i.e. 'Kings Head pub') then we might have an extra match $sSQL = "select place_id from placex where place_id in ($sPlaceIDs) and class='".$aSearch['sClass']."' and type='".$aSearch['sType']."'"; - $sSQL = " and linked_place_id is null"; + $sSQL .= " and linked_place_id is null"; if ($sCountryCodesSQL) $sSQL .= " and country_code in ($sCountryCodesSQL)"; $sSQL .= " order by rank_search asc limit $iLimit"; if (CONST_Debug) var_dump($sSQL);