diff --git a/src/posts/create.js b/src/posts/create.js index e84fdaaf3d..e42dff0f24 100644 --- a/src/posts/create.js +++ b/src/posts/create.js @@ -58,7 +58,8 @@ module.exports = function(Posts) { plugins.fireHook('filter:post.save', postData, next); }, - function(postData, next) { + function(_postData, next) { + postData = _postData; db.setObject('post:' + postData.pid, postData, next); }, function(next) {