v1.18.x
barisusakli 11 years ago
parent 25ed131b13
commit ae02c1a06c

@ -357,7 +357,7 @@ var async = require('async'),
} }
posts = posts.filter(function(post) { posts = posts.filter(function(post) {
return parseInt(results.topics[post.tid].deleted, 10) !== 1; return results.topics[post.tid] && parseInt(results.topics[post.tid].deleted, 10) !== 1;
}); });
async.map(posts, function(post, next) { async.map(posts, function(post, next) {

Loading…
Cancel
Save