diff --git a/FoursquareAPI.Class.php b/FoursquareAPI.Class.php index a0acbeb..f1da87f 100644 --- a/FoursquareAPI.Class.php +++ b/FoursquareAPI.Class.php @@ -219,7 +219,7 @@ private function POST($url,$params=false){ * @return array(lat, lng) || NULL */ public function GeoLocate($addr){ - $addr = str_replace(" ", "+", urlencode($addr)); + $addr = str_replace(" ", "+", $addr); $geoapi = "http://maps.googleapis.com/maps/api/geocode/json"; $params = array("address"=>$addr,"sensor"=>"false"); $response = $this->GET($geoapi,$params);