mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-11 21:34:06 +00:00
mising string concatenation (.)
This commit is contained in:
@@ -935,7 +935,7 @@
|
|||||||
{
|
{
|
||||||
// If they were searching for a named class (i.e. 'Kings Head pub') then we might have an extra match
|
// 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 = "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)";
|
if ($sCountryCodesSQL) $sSQL .= " and country_code in ($sCountryCodesSQL)";
|
||||||
$sSQL .= " order by rank_search asc limit $iLimit";
|
$sSQL .= " order by rank_search asc limit $iLimit";
|
||||||
if (CONST_Debug) var_dump($sSQL);
|
if (CONST_Debug) var_dump($sSQL);
|
||||||
|
|||||||
Reference in New Issue
Block a user