Skip to content

Node.js based forum software built for the modern web

fix typo

barisusakli00d5303e339b
diff --git a/src/posts/edit.js b/src/posts/edit.js
index 0d4a78a019..d4c3a3c732 100644
--- a/src/posts/edit.js
+++ b/src/posts/edit.js
@@ -130,7 +130,7 @@ module.exports = function(Posts) {
async.waterfall([
async.apply(plugins.fireHook, 'filter:topic.edit', {req: data.req, topic: topicData}),
function(results, next) {
- db.setObject('topic:' + tid, results.topicData, next);
+ db.setObject('topic:' + tid, results.topic, next);
},
function(next) {
topics.updateTags(tid, data.tags, next);