Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Chernyavski <i.splinter@i.ua>2015-06-22 17:52:27 +0300
committerAnton Chernyavski <i.splinter@i.ua>2015-06-22 17:52:27 +0300
commitb8fb0d8b5a54bfa3629e81c6cfc153b0f9d4a885 (patch)
tree8abf6f7424f432a72f8f3859d22c3a6a82f46c4d /plugins/UserCountry
parent3733cb35f0117da3c641767fe4f3c0bc6db89368 (diff)
fix typo
Diffstat (limited to 'plugins/UserCountry')
-rwxr-xr-xplugins/UserCountry/LocationProvider/GeoIp/Pecl.php2
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);
}
}