Use nickname from profile, not user object, to avoid barfing warnings on Twitter messages imported into the timeline.
This commit is contained in:
parent
fc22bde67c
commit
b7ed31c27b
|
@ -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'),
|
||||
|
|
Loading…
Reference in New Issue
Block a user