This commit is contained in:
Baris Usakli
2019-02-08 14:38:21 -05:00
parent 30ff4582e1
commit 8c68780e54

View File

@@ -24,7 +24,7 @@ module.exports = {
if (parseInt(topicData.pinned, 10) === 1) {
return setImmediate(next);
}
topicData.postcount = parseInt(topicData.postcount, 10) || 0;
db.sortedSetAdd('cid:' + topicData.cid + ':tids:posts', topicData.postcount, tid, next);
},
function (next) {