]> git.mxchange.org Git - friendica.git/commitdiff
fix author-name when missing on comments
authorfriendica <info@friendica.com>
Sun, 4 Dec 2011 11:45:09 +0000 (03:45 -0800)
committerfriendica <info@friendica.com>
Sun, 4 Dec 2011 11:45:09 +0000 (03:45 -0800)
include/conversation.php

index 20baf7dc5fed773aec893f70cc05e9502ad9ba4d..78b3987a3452344d1e12de46b603d5b5d39c70f1 100644 (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);