<?php
+use Friendica\App;
+
require_once('include/socgraph.php');
require_once('include/Contact.php');
require_once('include/contact_selectors.php');
$total = count_all_friends(local_user(), $cid);
- if (count($total)) {
+ if(count($total))
$a->set_pager_total($total);
- }
$r = all_friends(local_user(), $cid, $a->pager['start'], $a->pager['itemspage']);