diff --git a/src/socket.io/admin.js b/src/socket.io/admin.js index 95af8c7122..6a5b1ad883 100644 --- a/src/socket.io/admin.js +++ b/src/socket.io/admin.js @@ -270,7 +270,7 @@ function getHourlyStatsForSet(set, hour, numHours, callback) { } hoursArr.forEach(function(term, index) { - terms[term] = counts[index] || 0; + terms[term] = parseInt(counts[index], 10) || 0; }); var termsArr = [];