Skip to content

Node.js based forum software built for the modern web

added parentCid 0 to new categories

barisusakli630977fb99f1
diff --git a/src/categories.js b/src/categories.js
index bf9e59aefe..5303eda1b9 100644
--- a/src/categories.js
+++ b/src/categories.js
@@ -39,6 +39,7 @@ var db = require('./database'),
bgColor: data.bgColor,
color: data.color,
slug: slug,
+ parentCid: 0,
topic_count: 0,
post_count: 0,
disabled: 0,