Skip to content

Node.js based forum software built for the modern web

cid isnt always present

barisusakli30d7f3351ba3
diff --git a/src/categories.js b/src/categories.js
index 19ea949b66..7263d068c6 100644
--- a/src/categories.js
+++ b/src/categories.js
@@ -164,7 +164,7 @@ var async = require('async'),
};
function modifyCategory(category, callback) {
- if (!category || !parseInt(category.cid, 10)) {
+ if (!category) {
return callback(null, null);
}