crash fix

v1.18.x
barisusakli 10 years ago
parent b96018b0f5
commit fc99864c06

@ -61,6 +61,9 @@ module.exports = function(Topics) {
return callback(err);
}
var teasers = topics.map(function(topic, index) {
if (!topic) {
return null;
}
if (tidToPost[topic.tid]) {
tidToPost[topic.tid].index = counts[index];
if (tidToPost[topic.tid].content) {

Loading…
Cancel
Save