Node.js based forum software built for the modern web
filter falsy teasers
Barış Soner Uşaklı37ca5a1c638f
diff --git a/src/topics/teaser.js b/src/topics/teaser.jsindex 3cc10185af..da7a05b59a 100644--- a/src/topics/teaser.js+++ b/src/topics/teaser.js@@ -64,7 +64,7 @@ module.exports = function (Topics) {handleBlocks(uid, _postData, next);},function (_postData, next) {- postData = _postData;+ postData = _postData.filter(Boolean);var uids = _.uniq(postData.map(function (post) {return post.uid;}));