aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 78b3987a3..0fd955360 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -211,8 +211,8 @@ function conversation(&$a, $items, $mode, $update) {
$profile_name = ((strlen($item['author-name'])) ? $item['author-name'] : $item['name']);
- if($author-link && (! $author-name))
- $profile-name = $author-link;
+ if($item['author-link'] && (! $item['author-name']))
+ $profile_name = $item['author-link'];
$sp = false;
$profile_link = best_link_url($item,$sp);