mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 15:05:46 +01:00
closes #2357
This commit is contained in:
@@ -67,6 +67,7 @@ var winston = require('winston'),
|
||||
title = title.trim();
|
||||
|
||||
var topicData = {
|
||||
tid: tid,
|
||||
title: title,
|
||||
slug: tid + '/' + utils.slugify(title)
|
||||
};
|
||||
@@ -75,7 +76,7 @@ var winston = require('winston'),
|
||||
}
|
||||
|
||||
db.setObject('topic:' + tid, topicData, function(err) {
|
||||
plugins.fireHook('action:topic.edit', tid);
|
||||
plugins.fireHook('action:topic.edit', topicData);
|
||||
});
|
||||
|
||||
topics.updateTags(tid, options.tags, function(err) {
|
||||
|
||||
Reference in New Issue
Block a user