From 1f70f886b5d4f3f1e2ab16a107d62dbe270ac70b Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Sun, 8 May 2016 20:05:16 -0400 Subject: [PATCH] fixed reference to undefined variable /cc @BenLubar --- src/socket.io/posts/flag.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/socket.io/posts/flag.js b/src/socket.io/posts/flag.js index 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,