X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fpeopletagsforusersection.php;h=fa5ec310330fc4dc08681a8b6c0140406609281e;hb=2c5460eb0e140655c30639c5bc909ddb80732a91;hp=37f46b850d128c5b83d4430b5a775c86c154c27b;hpb=4ab995dd1ef9b1b4d22f27223a7d28b12895ff93;p=quix0rs-gnu-social.git diff --git a/lib/peopletagsforusersection.php b/lib/peopletagsforusersection.php index 37f46b850d..fa5ec31033 100644 --- a/lib/peopletagsforusersection.php +++ b/lib/peopletagsforusersection.php @@ -54,8 +54,7 @@ class PeopletagsForUserSection extends PeopletagSection $limit = PEOPLETAGS_PER_SECTION+1; $offset = 0; - $auth_user = common_current_user(); - $ptags = $this->profile->getOtherTags($auth_user, $offset, $limit); + $ptags = $this->profile->getOtherTags(Profile::current(), $offset, $limit); return $ptags; }