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

@ -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);