fix author-name when missing on comments

This commit is contained in:
friendica 2011-12-04 03:45:09 -08:00
parent 8a489b4762
commit f6dd834284

View file

@ -209,7 +209,10 @@ 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);