Node.js based forum software built for the modern web
Add oldTitle to topic edit hook
Timothy Fikecfa5974515cf
diff --git a/src/posts/edit.js b/src/posts/edit.jsindex e8a5ea8395..265874c2ae 100644--- a/src/posts/edit.js+++ b/src/posts/edit.js@@ -136,6 +136,7 @@ module.exports = function (Posts) {},function (tags, next) {topicData.tags = data.tags;+ topicData.oldTitle = results.topic.title;plugins.fireHook('action:topic.edit', topicData);next(null, {tid: tid,