]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/shownotice.php
Merge branch '0.9.x' into 1.0.x
[quix0rs-gnu-social.git] / actions / shownotice.php
index 5b3ec93de10b64082bceb30bc5de46a4c3693c2d..6534617319d07c5aaa33db6bc0b1ae10cf9d6e3c 100644 (file)
@@ -167,11 +167,7 @@ class ShownoticeAction extends OwnerDesignAction
 
     function title()
     {
-        if (!empty($this->profile->fullname)) {
-            $base = $this->profile->fullname . ' (' . $this->profile->nickname . ')';
-        } else {
-            $base = $this->profile->nickname;
-        }
+        $base = $this->profile->getFancyName();
 
         return sprintf(_('%1$s\'s status on %2$s'),
                        $base,