From 842a1f90cfa4c14fffbb933e97c995d9e97bb95e Mon Sep 17 00:00:00 2001 From: barisusakli Date: Fri, 13 Jun 2014 18:55:53 -0400 Subject: [PATCH] fix crash on push --- src/socket.io/modules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/socket.io/modules.js b/src/socket.io/modules.js index f2084c5578..95083f85bf 100644 --- a/src/socket.io/modules.js +++ b/src/socket.io/modules.js @@ -62,7 +62,7 @@ SocketModules.composer.push = function(socket, pid, callback) { topics.getTopicTags(postData.tid, next); }, isMain: function(next) { - postTools.isMain(pid, next); + postTools.isMain(pid, postData.tid, next); } }, function(err, results) { if(err) {