mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 19:46:01 +01:00
closes #1366
This commit is contained in:
@@ -347,7 +347,7 @@ var db = require('./database'),
|
||||
}
|
||||
|
||||
posts = posts.filter(function(p) {
|
||||
return !!p || parseInt(p.deleted, 10) !== 1;
|
||||
return !!p && parseInt(p.deleted, 10) !== 1;
|
||||
});
|
||||
|
||||
async.map(posts, getPostSummary, function(err, posts) {
|
||||
|
||||
Reference in New Issue
Block a user