X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=lib%2Fpeopletagsubscriptionssection.php;h=ab90f7eb755aba7938b70cf124687953964a6e05;hb=335390f2ca33552513df3dd7c002622f4dda457e;hp=2182a3d8342a769fa395f4452ee7bdb65428ced7;hpb=f0d762f1968fa0ac33b39d73cc9c0225c9e8a989;p=quix0rs-gnu-social.git diff --git a/lib/peopletagsubscriptionssection.php b/lib/peopletagsubscriptionssection.php index 2182a3d834..ab90f7eb75 100644 --- a/lib/peopletagsubscriptionssection.php +++ b/lib/peopletagsubscriptionssection.php @@ -42,27 +42,28 @@ 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. - return _('People tag subscriptions'); + return _('List subscriptions'); } function link()