From: Evan Prodromou Date: Tue, 1 Mar 2011 21:37:21 +0000 (-0500) Subject: fixup link to your profile X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=815a9a0c3e634be678aec1dce80a2364f7bd3897;p=quix0rs-gnu-social.git fixup link to your profile --- diff --git a/lib/personalgroupnav.php b/lib/personalgroupnav.php index e428e92e63..348195a99d 100644 --- a/lib/personalgroupnav.php +++ b/lib/personalgroupnav.php @@ -72,9 +72,9 @@ class PersonalGroupNav extends Menu sprintf(_('%s and friends'), $name), $action == 'all', 'nav_timeline_personal'); $this->out->menuItem(common_local_url('showstream', array('nickname' => - $this->user->nickname)), + $nickname)), _('Profile'), - (empty($profile)) ? $this->user->nickname : $profile->getBestName(), + _('Your profile'), $action == 'showstream', 'nav_profile'); $this->out->menuItem(common_local_url('replies', array('nickname' =>