Send plugin `postData` changes up the line (#4875)

v1.18.x
Peter Jaszkowiak 9 years ago committed by Julian Lam
parent 42fa764608
commit 20024418d9

@ -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) {

Loading…
Cancel
Save