aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2011-12-04 03:54:40 -0800
committerfriendica <info@friendica.com>2011-12-04 03:54:40 -0800
commitfb01d8bec5fea541a7ea6d67ef0db7790cab2cdf (patch)
tree8f6870fea96f175276affe905ff990795f812311
parentfb437a874ef38249199f7dd034eb4189b9c42976 (diff)
downloadvolse-hubzilla-fb01d8bec5fea541a7ea6d67ef0db7790cab2cdf.tar.gz
volse-hubzilla-fb01d8bec5fea541a7ea6d67ef0db7790cab2cdf.tar.bz2
volse-hubzilla-fb01d8bec5fea541a7ea6d67ef0db7790cab2cdf.zip
fix incorrect default author
-rw-r--r--include/conversation.php4
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)