.../heartbeat_comments/heartbeat_comments.module | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/modules/heartbeat_comments/heartbeat_comments.module b/modules/heartbeat_comments/heartbeat_comments.module
index 2341647..a3ce5ec 100644
--- a/modules/heartbeat_comments/heartbeat_comments.module
+++ b/modules/heartbeat_comments/heartbeat_comments.module
@@ -690,7 +690,8 @@ function theme_heartbeat_comment($variables) {
}
$output .= '
';
- $realname = isset($comment->realname) ? $comment->realname : $comment->name;
+ $account = user_load($comment->uid);
+ $realname = isset($account->realname) ? $account->realname : $comment->name; $output .= l($realname, 'user/' . $comment->uid) . ' ';
$output .= l($realname, 'user/' . $comment->uid) . ' ';
$output .= $comment->comment;
$output .= '' . _theme_time_ago($comment->changed) . '';
@@ -1009,4 +1010,4 @@ function _heartbeat_comments_delete($hcid) {
cache_clear_all('heartbeat:comments:'. $row->uaid. ':0', 'cache');
}
-}
\ No newline at end of file
+}