plugins - filter:posts.custom_profile_info pass in pid as well

v1.18.x
psychobunny 11 years ago
parent 7c8f857aaf
commit 8b55920acf

@ -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; post.additional_profile_info = profile_info.profile;
if (post.editor !== '') { if (post.editor !== '') {

Loading…
Cancel
Save