Skip to content

Commit

Permalink
fixed reference to undefined variable
Browse files Browse the repository at this point in the history
  • Loading branch information
julianlam committed May 9, 2016
1 parent a1d2fbe commit 1f70f88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/socket.io/posts/flag.js
Expand Up @@ -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,
Expand Down

0 comments on commit 1f70f88

Please sign in to comment.