mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
fix crash on push
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user