Skip to content

Node.js based forum software built for the modern web

fix for recent/popular/active global categories

psychobunnya711adfcd07c
diff --git a/src/topics.js b/src/topics.js
index 02a13007d8..a10e9e64d4 100644
--- a/src/topics.js
+++ b/src/topics.js
@@ -68,7 +68,7 @@ var RDB = require('./redis.js'),
multi.exec(function(err, replies) {
category_name = replies[0];
- if(category_name === null) {
+ if(category_id && category_name === null) {
callback(false);
return;
}