]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/piwik.js
Merge remote-tracking branch 'openstreetmap/pull/1120'
[rails.git] / app / assets / javascripts / piwik.js
index d327296f63621e97aacecd7e4b7bdbd043134540..19b5619a2558cef99ab7deec512841dd487d9eff 100644 (file)
@@ -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();