Skip to content

Node.js based forum software built for the modern web

added posted data back whoops

barisusakli206acab1bfab
diff --git a/src/posts.js b/src/posts.js
index d4d0ecdba1..fb7f57597b 100644
--- a/src/posts.js
+++ b/src/posts.js
@@ -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,