fix crash on push

v1.18.x
barisusakli 11 years ago
parent 42d03cc491
commit 842a1f90cf

@ -62,7 +62,7 @@ SocketModules.composer.push = function(socket, pid, callback) {
topics.getTopicTags(postData.tid, next); topics.getTopicTags(postData.tid, next);
}, },
isMain: function(next) { isMain: function(next) {
postTools.isMain(pid, next); postTools.isMain(pid, postData.tid, next);
} }
}, function(err, results) { }, function(err, results) {
if(err) { if(err) {

Loading…
Cancel
Save