fixed reference to undefined variable

/cc @BenLubar
v1.18.x
Julian Lam 9 years ago
parent a1d2fbefe7
commit 1f70f886b5

@ -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,

Loading…
Cancel
Save