aboutsummaryrefslogtreecommitdiffstats
path: root/mod/viewcontacts.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/viewcontacts.php')
-rw-r--r--mod/viewcontacts.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/viewcontacts.php b/mod/viewcontacts.php
index 47132e6a8..251729817 100644
--- a/mod/viewcontacts.php
+++ b/mod/viewcontacts.php
@@ -22,7 +22,7 @@ function viewcontacts_content(&$a) {
intval($a->profile['uid'])
);
if(count($r))
- $a->pager['totalitems'] = $r[0]['total'];
+ $a->set_pager_total($r[0]['total']);
$r = q("SELECT * FROM `contact` WHERE `uid` = %d AND `blocked` = 0 AND `pending` = 0 ORDER BY `name` ASC LIMIT %d , %d ",
intval($a->profile['uid']),