X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e94f251de5cc6156083bc01db872126fe380c87d..db7374f2bbdd0b3ee0f3cb0a9cca84f9c72cffb5:/app/assets/javascripts/piwik.js diff --git a/app/assets/javascripts/piwik.js b/app/assets/javascripts/piwik.js index d327296f6..19b5619a2 100644 --- a/app/assets/javascripts/piwik.js +++ b/app/assets/javascripts/piwik.js @@ -11,7 +11,7 @@ if (OSM.PIWIK) { piwikTracker = Piwik.getTracker(base + "piwik.php", OSM.PIWIK.site); if (OSM.user) { - piwikTracker.setUserId(OSM.user); + piwikTracker.setUserId(OSM.user.toString()); } piwikTracker.trackPageView();