]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/profileminilist.php
Make WebChannel and AjaxWebChannel work
[quix0rs-gnu-social.git] / lib / profileminilist.php
index 56b76841945cc4ee0ac1c76bc64dcd6f95376c21..81cd7aed5583f66ffb06ab88e9c597d63cba2f8a 100644 (file)
@@ -69,9 +69,7 @@ class ProfileMiniList extends ProfileList
     function showProfile()
     {
         $this->out->elementStart('li', 'vcard');
-        $this->out->elementStart('a', array('title' => ($this->profile->fullname) ?
-                                       $this->profile->fullname :
-                                       $this->profile->nickname,
+        $this->out->elementStart('a', array('title' => $this->profile->getBestName(),
                                        'href' => $this->profile->profileurl,
                                        'rel' => 'contact member',
                                        'class' => 'url'));