X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fviewcontacts.php;h=f7bf912fdffea333da38b0ed67236dc98b74962a;hb=5d7e1e1a1544421c594e13efb9c1ebece241e94f;hp=9c72a46e9c7c2437ea41784c0e16696f819a6d91;hpb=20e71d21a6206c03f2137eb82edf8f8b3bc644f2;p=friendica.git diff --git a/mod/viewcontacts.php b/mod/viewcontacts.php index 9c72a46e9c..f7bf912fdf 100644 --- a/mod/viewcontacts.php +++ b/mod/viewcontacts.php @@ -1,8 +1,11 @@ profile['uid']), dbesc(NETWORK_DFRN), @@ -59,7 +63,8 @@ function viewcontacts_content(App &$a) { $a->set_pager_total($r[0]['total']); $r = q("SELECT * FROM `contact` - WHERE `uid` = %d AND (NOT `blocked` OR `pending`) AND NOT `hidden` AND NOT `archive` + WHERE `uid` = %d AND NOT `blocked` AND NOT `pending` + AND NOT `hidden` AND NOT `archive` AND `network` IN ('%s', '%s', '%s') ORDER BY `name` ASC LIMIT %d, %d", intval($a->profile['uid']),