Node.js based forum software built for the modern web
fixed incr in topic post
Baris Soner Usaklif0caac242c3c
diff --git a/src/topics.js b/src/topics.jsindex 1f33d5be51..4345545685 100644--- a/src/topics.js+++ b/src/topics.js@@ -94,7 +94,7 @@ var async = require('async'),// in future it may be possible to add topics to several categories, so leaving the door open here.db.sortedSetAdd('categories:' + cid + ':tid', timestamp, tid);- db.incrObjectField('category:' + cid, 'topic_count', 1);+ db.incrObjectField('category:' + cid, 'topic_count');db.incrObjectField('global', 'topicCount');feed.updateCategory(cid);