added posted data back whoops

v1.18.x
barisusakli 11 years ago
parent afb62c7484
commit 206acab1bf

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

Loading…
Cancel
Save