]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Use nickname from profile, not user object, to avoid barfing warnings on Twitter...
authorBrion Vibber <brion@pobox.com>
Fri, 30 Oct 2009 20:53:23 +0000 (16:53 -0400)
committerBrion Vibber <brion@pobox.com>
Fri, 30 Oct 2009 20:55:47 +0000 (16:55 -0400)
actions/shownotice.php

index 41408c23ccb4a396d92d814366824a5871475ae5..5d16fdad9ed84a4706d759c04f9d681ab37ac760 100644 (file)
@@ -172,9 +172,9 @@ class ShownoticeAction extends OwnerDesignAction
     function title()
     {
         if (!empty($this->profile->fullname)) {
-            $base = $this->profile->fullname . ' (' . $this->user->nickname . ') ';
+            $base = $this->profile->fullname . ' (' . $this->profile->nickname . ') ';
         } else {
-            $base = $this->user->nickname;
+            $base = $this->profile->nickname;
         }
 
         return sprintf(_('%1$s\'s status on %2$s'),