mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-16 10:46:14 +01:00
remove parseInts
This commit is contained in:
@@ -227,7 +227,7 @@ module.exports = function (Categories) {
|
||||
topics.getTopicField(tid, 'postcount', next);
|
||||
},
|
||||
function (postCount, next) {
|
||||
if (!parseInt(postCount, 10)) {
|
||||
if (!postCount) {
|
||||
return callback();
|
||||
}
|
||||
async.parallel([
|
||||
|
||||
Reference in New Issue
Block a user