diff --git a/src/Geolocation.php b/src/Geolocation.php index 3b4a28d..478ef31 100644 --- a/src/Geolocation.php +++ b/src/Geolocation.php @@ -73,7 +73,7 @@ protected function doCall(array $parameters = array()) curl_setopt($curl, CURLOPT_URL, $this->createUrl($parameters)); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); curl_setopt($curl, CURLOPT_TIMEOUT, 10); - if (ini_get('open_basedir') == '' && ini_get('safe_mode' == 'Off')) { + if (ini_get('open_basedir') == '' && ini_get('safe_mode') == 'Off') { curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true); }