diff options
author | friendica <info@friendica.com> | 2012-04-27 17:17:58 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-04-27 17:17:58 -0700 |
commit | 26c53580d128d3ebbbc3d6172525b80690a63255 (patch) | |
tree | 10069eae269f2530f8964d356907d83c2141fc9d /mod/viewcontacts.php | |
parent | 0ab6b60a52fc27d8a37917b3b3e25de37c8fd372 (diff) | |
download | volse-hubzilla-26c53580d128d3ebbbc3d6172525b80690a63255.tar.gz volse-hubzilla-26c53580d128d3ebbbc3d6172525b80690a63255.tar.bz2 volse-hubzilla-26c53580d128d3ebbbc3d6172525b80690a63255.zip |
implement contact archival
Diffstat (limited to 'mod/viewcontacts.php')
-rw-r--r-- | mod/viewcontacts.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/viewcontacts.php b/mod/viewcontacts.php index e7d26b73e..8e261e711 100644 --- a/mod/viewcontacts.php +++ b/mod/viewcontacts.php @@ -24,13 +24,13 @@ function viewcontacts_content(&$a) { } - $r = q("SELECT COUNT(*) as `total` FROM `contact` WHERE `uid` = %d AND `blocked` = 0 AND `pending` = 0 AND `hidden` = 0 ", + $r = q("SELECT COUNT(*) as `total` FROM `contact` WHERE `uid` = %d AND `blocked` = 0 AND `pending` = 0 AND `hidden` = 0 AND `archive` = 0 ", intval($a->profile['uid']) ); if(count($r)) $a->set_pager_total($r[0]['total']); - $r = q("SELECT * FROM `contact` WHERE `uid` = %d AND `blocked` = 0 AND `pending` = 0 AND `hidden` = 0 ORDER BY `name` ASC LIMIT %d , %d ", + $r = q("SELECT * FROM `contact` WHERE `uid` = %d AND `blocked` = 0 AND `pending` = 0 AND `hidden` = 0 AND `archive` = 0 ORDER BY `name` ASC LIMIT %d , %d ", intval($a->profile['uid']), intval($a->pager['start']), intval($a->pager['itemspage']) |