X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fpeopletagsubscriptionssection.php;h=7fd6bd0bbf7db71837d44fc4393c9476ef40c6fe;hb=3251ef3b518ef9db55fbab0693d8b0f654dcda58;hp=2182a3d8342a769fa395f4452ee7bdb65428ced7;hpb=5304373b0b5c9905b30c85b565c23246d377467b;p=quix0rs-gnu-social.git diff --git a/lib/peopletagsubscriptionssection.php b/lib/peopletagsubscriptionssection.php index 2182a3d834..7fd6bd0bbf 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'); + // TRANS: Title for page that displays lists a user has subscribed to. + return _('List subscriptions'); } function link()