backport redis fix #7350

This commit is contained in:
Barış Soner Uşaklı
2019-02-08 14:39:50 -05:00
committed by GitHub
parent 3a49b52ca1
commit 53af9ec2e8

View File

@@ -24,7 +24,8 @@ 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) {