X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fpeopletagsubscriptionssection.php;h=7fd6bd0bbf7db71837d44fc4393c9476ef40c6fe;hb=5167b1fa408aa486ad75c8ddd3c71cb568dc84a3;hp=616af28d4cdb13c9b103856d0bba07df1ffa7980;hpb=53af608ef882eb03cd924ed630f98d856c11370a;p=quix0rs-gnu-social.git diff --git a/lib/peopletagsubscriptionssection.php b/lib/peopletagsubscriptionssection.php index 616af28d4c..7fd6bd0bbf 100644 --- a/lib/peopletagsubscriptionssection.php +++ b/lib/peopletagsubscriptionssection.php @@ -42,26 +42,27 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { class PeopletagSubscriptionsSection extends PeopletagSection { var $profile=null; + var $ptags=null; function __construct($out, Profile $profile) { parent::__construct($out); $this->profile = $profile; - } - function getPeopletags() - { $limit = PEOPLETAGS_PER_SECTION+1; $offset = 0; - $ptags = $this->profile->getTagSubscriptions($offset, $limit); + $this->ptags = $this->profile->getTagSubscriptions($offset, $limit); + } - return $ptags; + function getPeopletags() + { + return $this->ptags; } function title() { - // TRANS: Title for page that displays people tags a user has subscribed to. + // TRANS: Title for page that displays lists a user has subscribed to. return _('List subscriptions'); }