X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fpeopletaggroupnav.php;h=bbfe4eca7e082711a74c52b821341a432a1ea535;hb=e15f322187d4ddc39c7718d533824df435d99bc8;hp=3cfcb3cff37a47b6cb86d57d515f3c9e68b81389;hpb=9948523c33ea0d02681ff1e0cd4fcb839dc9df96;p=quix0rs-gnu-social.git diff --git a/lib/peopletaggroupnav.php b/lib/peopletaggroupnav.php index 3cfcb3cff3..bbfe4eca7e 100644 --- a/lib/peopletaggroupnav.php +++ b/lib/peopletaggroupnav.php @@ -79,11 +79,17 @@ class PeopletagGroupNav extends Widget // FIXME: we should probably pass this in $action = $this->action->trimmed('action'); - $nickname = $this->action->trimmed('tagger'); + + if (common_config('singleuser', 'enabled')) { + $nickname = User::singleUserNickname(); + } else { + $nickname = $this->action->arg('tagger'); + } + $tag = $this->action->trimmed('tag'); if ($nickname) { - $user = User::staticGet('nickname', $nickname); + $user = User::getKV('nickname', $nickname); $user_profile = $user->getProfile(); if ($tag) {