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);