X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/234b1b0293aff8fe8bd13df986805e7d1b39bca2..98e5ba6b6138cba14b3f36cf3ddfced39b5ef6ef:/lib/Geocode.php diff --git a/lib/Geocode.php b/lib/Geocode.php index e6e6e3eb..0c3c5f73 100644 --- a/lib/Geocode.php +++ b/lib/Geocode.php @@ -1481,7 +1481,7 @@ if (sizeof($this->aExcludePlaceIDs)) { - $sSQL .= " and parent_place_id not in (".join(',', $this->aExcludePlaceIDs).")"; + $sSQL .= " and place_id not in (".join(',', $this->aExcludePlaceIDs).")"; } //$sSQL .= " limit $this->iLimit"; if (CONST_Debug) var_dump($sSQL);