summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-02-02 16:42:27 -0500
committerEvan Prodromou <evan@controlyourself.ca>2009-02-02 16:42:27 -0500
commitdaa5797809ec9315db463c5ecc721f1273c0d17e (patch)
tree8ecd1328f3b22baefc2c77a0dc61ebe3163ed5b0 /lib
parenta381bff4da077b84baaa56ef9780eb806e14b7dd (diff)
parent2f37539967efa3e30873d836b308a64fdc48078a (diff)
Merge branch 'master' of git://gitorious.org/laconica/adrianlang-clone into adrianlang/master
Diffstat (limited to 'lib')
-rw-r--r--lib/profileminilist.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/profileminilist.php b/lib/profileminilist.php
index 56b768419..81cd7aed5 100644
--- a/lib/profileminilist.php
+++ b/lib/profileminilist.php
@@ -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'));