added posted data back whoops

This commit is contained in:
barisusakli
2014-07-17 17:49:28 -04:00
parent afb62c7484
commit 206acab1bf

View File

@@ -37,13 +37,15 @@ var async = require('async'),
return callback(new Error('[[error:invalid-uid]]'));
}
var postData;
async.waterfall([
function(next) {
db.incrObjectField('global', 'nextPid', next);
},
function(pid, next) {
var postData = {
postData = {
'pid': pid,
'uid': uid,
'tid': tid,