]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Mapstraction/usermap.php
Merge branch 'master' into 0.9.x
[quix0rs-gnu-social.git] / plugins / Mapstraction / usermap.php
index 0ee956159c92f8fa95de398ac7d826547e9a773b..54412146ee49cb001e14a4c8695c5835e640fc27 100644 (file)
@@ -58,12 +58,7 @@ class UsermapAction extends MapAction
 
     function title()
     {
-        if (!empty($this->profile->fullname)) {
-            // @todo FIXME: Bad i18n. Should be '%1$s (%2$s)'
-            $base = $this->profile->fullname . ' (' . $this->user->nickname . ')';
-        } else {
-            $base = $this->user->nickname;
-        }
+        $base = $this->profile->getFancyName();
 
         if ($this->page == 1) {
             // @todo CHECKME: inconsisten with paged variant below. " map" missing.