diff options
author | Anton Chernyavski <i.splinter@i.ua> | 2015-06-22 17:52:27 +0300 |
---|---|---|
committer | Anton Chernyavski <i.splinter@i.ua> | 2015-06-22 17:52:27 +0300 |
commit | b8fb0d8b5a54bfa3629e81c6cfc153b0f9d4a885 (patch) | |
tree | 8abf6f7424f432a72f8f3859d22c3a6a82f46c4d /plugins/UserCountry | |
parent | 3733cb35f0117da3c641767fe4f3c0bc6db89368 (diff) |
fix typo
Diffstat (limited to 'plugins/UserCountry')
-rwxr-xr-x | plugins/UserCountry/LocationProvider/GeoIp/Pecl.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/UserCountry/LocationProvider/GeoIp/Pecl.php b/plugins/UserCountry/LocationProvider/GeoIp/Pecl.php index f5f28c9719..b1d97f08fe 100755 --- a/plugins/UserCountry/LocationProvider/GeoIp/Pecl.php +++ b/plugins/UserCountry/LocationProvider/GeoIp/Pecl.php @@ -90,7 +90,7 @@ class Pecl extends GeoIp // get isp data if the isp database is available if (self::isISPDatabaseAvailable()) { $isp = @geoip_isp_by_name($ip); - if ($ip !== false) { + if ($isp !== false) { $result[self::ISP_KEY] = utf8_encode($isp); } } |