From 00d5303e339b1077b0ebc5ab3a4aea0e80dc98e9 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Wed, 9 Mar 2016 18:06:05 +0200 Subject: [PATCH] fix typo --- src/posts/edit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);