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:
authorMatthieu Aubry <mattab@users.noreply.github.com>2018-01-18 23:41:57 +0300
committerGitHub <noreply@github.com>2018-01-18 23:41:57 +0300
commitdb47ea850722f731f9e14adbaaaed8cd8d16088d (patch)
tree89a89b47e1b8b0a4afe73f910b36c99940859ace /plugins
parent61e772fddc70dfb295c59c84c8a76c1fbdfaf3f6 (diff)
GeoIP re-attribution: debug output now shows changes to visits geo-location (#12481)
Re-create https://github.com/matomo-org/matomo/pull/12478 on the right branch
Diffstat (limited to 'plugins')
-rw-r--r--plugins/UserCountry/VisitorGeolocator.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/UserCountry/VisitorGeolocator.php b/plugins/UserCountry/VisitorGeolocator.php
index 1c517075a1..67d84ee859 100644
--- a/plugins/UserCountry/VisitorGeolocator.php
+++ b/plugins/UserCountry/VisitorGeolocator.php
@@ -189,7 +189,7 @@ class VisitorGeolocator
$this->logger->debug('Updating visit with idvisit = {idVisit} (IP = {ip}). Changes: {changes}', array(
'idVisit' => $idVisit,
'ip' => $ip,
- 'changes' => $valuesToUpdate
+ 'changes' => json_encode($valuesToUpdate)
));
$this->dao->updateVisits($valuesToUpdate, $idVisit);
@@ -309,4 +309,4 @@ class VisitorGeolocator
}
return self::$defaultLocationCache;
}
-} \ No newline at end of file
+}