diff options
author | friendica <info@friendica.com> | 2011-12-04 03:45:09 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2011-12-04 03:45:09 -0800 |
commit | f6dd834284ccf8e69af8cefce45046a64460aa62 (patch) | |
tree | b3be9cf5c6b60213c02c8faf808eb6df33448e54 /include/conversation.php | |
parent | 8a489b47624a7d5dc36b2e5b5ac820adbe52841c (diff) | |
download | volse-hubzilla-f6dd834284ccf8e69af8cefce45046a64460aa62.tar.gz volse-hubzilla-f6dd834284ccf8e69af8cefce45046a64460aa62.tar.bz2 volse-hubzilla-f6dd834284ccf8e69af8cefce45046a64460aa62.zip |
fix author-name when missing on comments
Diffstat (limited to 'include/conversation.php')
-rw-r--r-- | include/conversation.php | 3 |
1 files changed, 3 insertions, 0 deletions
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); |