diff options
author | friendica <info@friendica.com> | 2011-12-04 03:54:40 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2011-12-04 03:54:40 -0800 |
commit | fb01d8bec5fea541a7ea6d67ef0db7790cab2cdf (patch) | |
tree | 8f6870fea96f175276affe905ff990795f812311 /include/conversation.php | |
parent | fb437a874ef38249199f7dd034eb4189b9c42976 (diff) | |
download | volse-hubzilla-fb01d8bec5fea541a7ea6d67ef0db7790cab2cdf.tar.gz volse-hubzilla-fb01d8bec5fea541a7ea6d67ef0db7790cab2cdf.tar.bz2 volse-hubzilla-fb01d8bec5fea541a7ea6d67ef0db7790cab2cdf.zip |
fix incorrect default author
Diffstat (limited to 'include/conversation.php')
-rw-r--r-- | include/conversation.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/conversation.php b/include/conversation.php index 0fd955360..deced3cb8 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -533,6 +533,10 @@ function conversation(&$a, $items, $mode, $update) { $profile_name = (((strlen($item['author-name'])) && $diff_author) ? $item['author-name'] : $item['name']); + if($item['author-link'] && (! $item['author-name'])) + $profile_name = $item['author-link']; + + $sp = false; $profile_link = best_link_url($item,$sp); if($sp) |