Node.js based forum software built for the modern web
closes #2068
barisusakliae02c1a06ca5
diff --git a/src/posts.js b/src/posts.jsindex 53a11e9d6b..856145c4c0 100644--- a/src/posts.js+++ b/src/posts.js@@ -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) {