mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 08:25:46 +01:00
remove parseInts
This commit is contained in:
@@ -25,7 +25,7 @@ module.exports = function (Topics) {
|
||||
var tidToPost = {};
|
||||
|
||||
topics.forEach(function (topic) {
|
||||
counts.push(topic && (parseInt(topic.postcount, 10) || 0));
|
||||
counts.push(topic && topic.postcount);
|
||||
if (topic) {
|
||||
if (topic.teaserPid === 'null') {
|
||||
delete topic.teaserPid;
|
||||
|
||||
Reference in New Issue
Block a user