Skip to content

Node.js based forum software built for the modern web

crash fix

barisusaklia2497b050edd
diff --git a/src/socket.io/posts.js b/src/socket.io/posts.js
index 314028b14c..14b294da39 100644
--- a/src/socket.io/posts.js
+++ b/src/socket.io/posts.js
@@ -234,7 +234,7 @@ SocketPosts.sendNotificationToPostOwner = function(pid, fromuid, notification) {
async.parallel({
username: async.apply(user.getUserField, fromuid, 'username'),
topicTitle: async.apply(topics.getTopicField, postData.tid, 'title'),
- postObj: async.apply(postTools.parsePost, postData)
+ postObj: async.apply(posts.parsePost, postData)
}, function(err, results) {
if (err) {
return;