From 8b55920acf0b1ee2c41b9d537faed101644c67e0 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Tue, 3 Dec 2013 14:19:11 -0500 Subject: [PATCH] plugins - filter:posts.custom_profile_info pass in pid as well --- src/posts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/posts.js b/src/posts.js index 646f38dded..66c79350e2 100644 --- a/src/posts.js +++ b/src/posts.js @@ -223,7 +223,7 @@ var RDB = require('./redis'), } } - plugins.fireHook('filter:posts.custom_profile_info', {profile: "", uid: post.uid}, function(err, profile_info) { + plugins.fireHook('filter:posts.custom_profile_info', {profile: "", uid: post.uid, pid: post.pid}, function(err, profile_info) { post.additional_profile_info = profile_info.profile; if (post.editor !== '') {