diff --git a/public/templates/topic.tpl b/public/templates/topic.tpl
index 7ee6f547c8..4feedc1c23 100644
--- a/public/templates/topic.tpl
+++ b/public/templates/topic.tpl
@@ -127,7 +127,9 @@
[[topic:reputation]]: {posts.user_rep} | [[topic:posts]]: {posts.user_postcount}
- {posts.additional_profile_info}
+
+ | {posts.custom_profile_info.content}
+
[[category:posted]]
diff --git a/src/posts.js b/src/posts.js
index b7048dc09c..9027c0524d 100644
--- a/src/posts.js
+++ b/src/posts.js
@@ -206,11 +206,11 @@ var db = require('./database'),
}
}
- plugins.fireHook('filter:posts.custom_profile_info', {profile: "", uid: post.uid, pid: post.pid}, function(err, profile_info) {
+ plugins.fireHook('filter:posts.custom_profile_info', {profile: [], uid: post.uid, pid: post.pid}, function(err, profile_info) {
if(err) {
return callback(err);
}
- post.additional_profile_info = profile_info.profile;
+ post.custom_profile_info = profile_info.profile;
if (post.editor !== '') {
user.getUserFields(post.editor, ['username', 'userslug'], function(err, editorData) {