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:
-rwxr-xr-xconsole2
-rwxr-xr-xplugins/UserCountry/LocationProvider/GeoIp/Php.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/console b/console
index f0b25f3d8e..07cd41f0e5 100755
--- a/console
+++ b/console
@@ -27,4 +27,4 @@ if (!Piwik\Common::isPhpCliMode()) {
$console = new Piwik\Console();
$console->init();
-$console->run(); \ No newline at end of file
+$console->run();
diff --git a/plugins/UserCountry/LocationProvider/GeoIp/Php.php b/plugins/UserCountry/LocationProvider/GeoIp/Php.php
index 271d2948a3..a946c7a9a4 100755
--- a/plugins/UserCountry/LocationProvider/GeoIp/Php.php
+++ b/plugins/UserCountry/LocationProvider/GeoIp/Php.php
@@ -158,9 +158,9 @@ class Php extends GeoIp
$ispGeoIp = $this->getGeoIpInstance($key = 'isp');
if ($ispGeoIp) {
if ($isIPv6) {
- $isp = geoip_name_by_addr_v6($orgGeoIp, $ip);
+ $isp = geoip_name_by_addr_v6($ispGeoIp, $ip);
} else {
- $isp = geoip_org_by_addr($orgGeoIp, $ip);
+ $isp = geoip_org_by_addr($ispGeoIp, $ip);
}
if (!empty($isp)) {
$result[self::ISP_KEY] = utf8_encode($isp);