From 8fba283594d07c3892df0132add1590089c09166 Mon Sep 17 00:00:00 2001 From: Lars Moelleken Date: Sun, 16 Jul 2023 00:48:14 +0200 Subject: [PATCH] fix typo in Geolocation.php --- src/Geolocation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }