Skip to content

Commit 019e6e8

Browse files
Merge pull request #12 from voku/patch-1
2 parents 3712172 + 8fba283 commit 019e6e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Geolocation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ protected function doCall(array $parameters = array())
7373
curl_setopt($curl, CURLOPT_URL, $this->createUrl($parameters));
7474
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
7575
curl_setopt($curl, CURLOPT_TIMEOUT, 10);
76-
if (ini_get('open_basedir') == '' && ini_get('safe_mode' == 'Off')) {
76+
if (ini_get('open_basedir') == '' && ini_get('safe_mode') == 'Off') {
7777
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
7878
}
7979

0 commit comments

Comments
 (0)