Node.js based forum software built for the modern web
fixed reference to undefined variable
Julian Lam1f70f886b5d4
diff --git a/src/socket.io/posts/flag.js b/src/socket.io/posts/flag.jsindex e9d378d2be..dbb3f7f551 100644--- a/src/socket.io/posts/flag.js+++ b/src/socket.io/posts/flag.js@@ -90,7 +90,7 @@ module.exports = function(SocketPosts) {bodyShort: '[[notifications:user_flagged_post_in, ' + flaggingUser.username + ', ' + titleEscaped + ']]',bodyLong: post.content,pid: data.pid,- path: '/post/' + pid,+ path: '/post/' + data.pid,nid: 'post_flag:' + data.pid + ':uid:' + socket.uid,from: socket.uid,mergeId: 'notifications:user_flagged_post_in|' + data.pid,