From f6dd834284ccf8e69af8cefce45046a64460aa62 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 4 Dec 2011 03:45:09 -0800 Subject: [PATCH] fix author-name when missing on comments --- include/conversation.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/conversation.php b/include/conversation.php index 20baf7dc5..78b3987a3 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -208,8 +208,11 @@ function conversation(&$a, $items, $mode, $update) { } else $nickname = $a->user['nickname']; + $profile_name = ((strlen($item['author-name'])) ? $item['author-name'] : $item['name']); + if($author-link && (! $author-name)) + $profile-name = $author-link; $sp = false; $profile_link = best_link_url($item,$sp);