summaryrefslogtreecommitdiff
path: root/actions/groupmembers.php
diff options
context:
space:
mode:
authorEvan Prodromou <git@evanprodromou.name>2009-01-29 08:37:40 -0500
committerEvan Prodromou <git@evanprodromou.name>2009-01-29 08:37:40 -0500
commitb6fbb9462c5087e00c6812a9e83aa49fae5403a5 (patch)
treed84f2fa4578020dd9f49cc9f86811f360581a13d /actions/groupmembers.php
parent04b3add162674df2ebdb4e4e347b7dbea934580b (diff)
proper pagination for subs and members
Diffstat (limited to 'actions/groupmembers.php')
-rw-r--r--actions/groupmembers.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/actions/groupmembers.php b/actions/groupmembers.php
index 53395c418..00f43a9f5 100644
--- a/actions/groupmembers.php
+++ b/actions/groupmembers.php
@@ -122,11 +122,13 @@ class GroupmembersAction extends Action
$offset = ($this->page-1) * PROFILES_PER_PAGE;
$limit = PROFILES_PER_PAGE + 1;
+ $cnt = 0;
+
$members = $this->group->getMembers($offset, $limit);
if ($members) {
$member_list = new ProfileList($members, null, $this);
- $member_list->show();
+ $cnt = $member_list->show();
}
$members->free();