mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 12:05:57 +01:00
closes #1366
This commit is contained in:
@@ -347,7 +347,7 @@ var db = require('./database'),
|
|||||||
}
|
}
|
||||||
|
|
||||||
posts = posts.filter(function(p) {
|
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) {
|
async.map(posts, getPostSummary, function(err, posts) {
|
||||||
|
|||||||
Reference in New Issue
Block a user