mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 06:25:50 +01:00
remove parseInts
This commit is contained in:
@@ -223,7 +223,7 @@ module.exports = function (Topics) {
|
||||
tidsByFilter.watched.push(topic.tid);
|
||||
}
|
||||
|
||||
if (parseInt(topic.postcount, 10) <= 1) {
|
||||
if (topic.postcount <= 1) {
|
||||
counts.unreplied += 1;
|
||||
tidsByFilter.unreplied.push(topic.tid);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user