]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/peopletagsubscriptionssection.php
"Lists with you" and "List subscriptions" in the right aside, "Lists" in the left...
[quix0rs-gnu-social.git] / lib / peopletagsubscriptionssection.php
index 616af28d4cdb13c9b103856d0bba07df1ffa7980..ab90f7eb755aba7938b70cf124687953964a6e05 100644 (file)
@@ -42,21 +42,22 @@ 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()