X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Flistsnav.php;h=71e994094cbadde9870c5a9953d4db857f1f35de;hb=c285f80b1830cffd20a28c693d74c59f8c3c39f6;hp=a2fa0b8cd13acb36130b0718b649fe09c01d8a03;hpb=0a17e7cf9f4983cf3e96b65c548c39dff0d80b72;p=quix0rs-gnu-social.git diff --git a/lib/listsnav.php b/lib/listsnav.php index a2fa0b8cd1..71e994094c 100644 --- a/lib/listsnav.php +++ b/lib/listsnav.php @@ -49,9 +49,7 @@ class ListsNav extends MoreMenu parent::__construct($out); $this->profile = $profile; - $user = common_current_user(); - - $this->lists = $profile->getLists($user); + $this->lists = $profile->getLists(Profile::current()); } function tag() @@ -66,7 +64,7 @@ class ListsNav extends MoreMenu while ($this->lists->fetch()) { $mode = $this->lists->private ? 'private' : 'public'; $items[] = array('showprofiletag', - array('tagger' => $this->profile->nickname, + array('nickname' => $this->profile->getNickname(), 'tag' => $this->lists->tag), $this->lists->tag, '');