mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-05 23:30:36 +01:00
closes #2068
This commit is contained in:
@@ -357,7 +357,7 @@ var async = require('async'),
|
||||
}
|
||||
|
||||
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) {
|
||||
|
||||
Reference in New Issue
Block a user