]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fixup link to your profile
authorEvan Prodromou <evan@status.net>
Tue, 1 Mar 2011 21:37:21 +0000 (16:37 -0500)
committerEvan Prodromou <evan@status.net>
Tue, 1 Mar 2011 21:37:21 +0000 (16:37 -0500)
lib/personalgroupnav.php

index e428e92e632cbc92064392a3d1bbae0b720f1362..348195a99d77b1bc67e786d06106605458d3d75b 100644 (file)
@@ -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' =>