]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/profileaction.php
correct groups from Profile::getGroups()
[quix0rs-gnu-social.git] / lib / profileaction.php
index eaf515e04a45005e26e3d83c630125d608e9bf28..1bc14945576258416e4034dde7d608b037816d2a 100644 (file)
@@ -259,7 +259,7 @@ class ProfileAction extends Action
             // TRANS: H2 text for user group membership statistics.
             $this->statsSectionLink('usergroups', _('Groups'));
             $this->text(' ');
-            $this->text($this->profile->getGroups()->N);
+            $this->text($this->profile->getGroups(0, null)->N);
             $this->elementEnd('h2');
 
             if ($groups) {