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