Skip to content

Commit

Permalink
visitorGeolocator: output actual changes in debug mode (matomo-org#12478
Browse files Browse the repository at this point in the history
  • Loading branch information
lwille authored and mattab committed Jan 18, 2018
1 parent c8405dc commit 19a7654
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/UserCountry/VisitorGeolocator.php
Expand Up @@ -189,7 +189,7 @@ public function attributeExistingVisit($visit, $useClassCache = true)
$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);
Expand Down Expand Up @@ -309,4 +309,4 @@ public static function getDefaultLocationCache()
}
return self::$defaultLocationCache;
}
}
}

0 comments on commit 19a7654

Please sign in to comment.