diff --git a/lib/profileaction.php b/lib/profileaction.php index b2990bd249..02f0bbad54 100644 --- a/lib/profileaction.php +++ b/lib/profileaction.php @@ -267,7 +267,7 @@ class ProfileAction extends Action // TRANS: H2 text for user group membership statistics. $this->statsSectionLink('usergroups', _('Groups')); $this->text(' '); - $this->text($this->profile->getGroups(0, null)->N); + $this->text($this->profile->getGroupCount()); $this->elementEnd('h2'); if ($groups instanceof User_group) {