parent::__construct($out);
$this->profile = $profile;
- $user = common_current_user();
-
- $this->lists = $profile->getLists($user);
+ $this->lists = $profile->getLists(Profile::current());
}
function tag()
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,
'');