mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-16 10:46:14 +01:00
closes #4669
This commit is contained in:
@@ -108,6 +108,11 @@ module.exports = function(Categories) {
|
||||
},
|
||||
function(_topicData, next) {
|
||||
topicData = _topicData;
|
||||
topicData.forEach(function(topic) {
|
||||
if (topic) {
|
||||
topic.teaserPid = topic.teaserPid || topic.mainPid;
|
||||
}
|
||||
});
|
||||
topics.getTeasers(_topicData, next);
|
||||
},
|
||||
function (teasers, next) {
|
||||
|
||||
Reference in New Issue
Block a user