diff options
author | Matthieu Aubry <mattab@users.noreply.github.com> | 2018-01-18 23:41:57 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-18 23:41:57 +0300 |
commit | db47ea850722f731f9e14adbaaaed8cd8d16088d (patch) | |
tree | 89a89b47e1b8b0a4afe73f910b36c99940859ace /plugins/UserCountry | |
parent | 61e772fddc70dfb295c59c84c8a76c1fbdfaf3f6 (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/UserCountry')
-rw-r--r-- | plugins/UserCountry/VisitorGeolocator.php | 4 |
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 +} |