Skip to content

Node.js based forum software built for the modern web

fix for threads that have 0 posts

psychobunny19a63bf51b98
diff --git a/src/posts.js b/src/posts.js
index bc1e7ea174..78e55d4562 100644
--- a/src/posts.js
+++ b/src/posts.js
@@ -48,6 +48,8 @@ var RDB = require('./redis.js');
callback({'posts': posts});
});
+ } else {
+ callback({});
}