v1.18.x
barisusakli 9 years ago
parent 104d677271
commit 00d5303e33

@ -130,7 +130,7 @@ module.exports = function(Posts) {
async.waterfall([ async.waterfall([
async.apply(plugins.fireHook, 'filter:topic.edit', {req: data.req, topic: topicData}), async.apply(plugins.fireHook, 'filter:topic.edit', {req: data.req, topic: topicData}),
function(results, next) { function(results, next) {
db.setObject('topic:' + tid, results.topicData, next); db.setObject('topic:' + tid, results.topic, next);
}, },
function(next) { function(next) {
topics.updateTags(tid, data.tags, next); topics.updateTags(tid, data.tags, next);

Loading…
Cancel
Save