Skip to content

Node.js based forum software built for the modern web

#2585

Barış Soner Uşaklı8cbb9aa31084
diff --git a/src/postTools.js b/src/postTools.js
index fc18277912..09fa75330a 100644
--- a/src/postTools.js
+++ b/src/postTools.js
@@ -36,11 +36,11 @@ var winston = require('winston'),
postData.content = data.content;
plugins.fireHook('filter:post.edit', {post: postData, uid: data.uid}, next);
}
- ], function(err, postData) {
+ ], function(err, data) {
if (err) {
return callback(err);
}
-
+ var postData = data.post;
async.parallel({
post: function(next) {
var d = {