Skip to content

Node.js based forum software built for the modern web

added topic owner uid

barisusakli83de5ba5a43c
diff --git a/src/posts.js b/src/posts.js
index ab87cbeb2a..5293b5ac46 100644
--- a/src/posts.js
+++ b/src/posts.js
@@ -302,7 +302,7 @@ var async = require('async'),
user.getMultipleUserFields(uids, ['uid', 'username', 'userslug', 'picture'], next);
},
topicsAndCategories: function(next) {
- db.getObjectsFields(tids, ['tid', 'title', 'cid', 'slug', 'deleted'], function(err, topics) {
+ db.getObjectsFields(tids, ['uid', 'tid', 'title', 'cid', 'slug', 'deleted'], function(err, topics) {
if (err) {
return next(err);
}