mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 12:05:57 +01:00
fix: #7350
This commit is contained in:
@@ -24,7 +24,7 @@ module.exports = {
|
|||||||
if (parseInt(topicData.pinned, 10) === 1) {
|
if (parseInt(topicData.pinned, 10) === 1) {
|
||||||
return setImmediate(next);
|
return setImmediate(next);
|
||||||
}
|
}
|
||||||
|
topicData.postcount = parseInt(topicData.postcount, 10) || 0;
|
||||||
db.sortedSetAdd('cid:' + topicData.cid + ':tids:posts', topicData.postcount, tid, next);
|
db.sortedSetAdd('cid:' + topicData.cid + ':tids:posts', topicData.postcount, tid, next);
|
||||||
},
|
},
|
||||||
function (next) {
|
function (next) {
|
||||||
|
|||||||
Reference in New Issue
Block a user