diff --git a/mod/viewcontacts.php b/mod/viewcontacts.php index 2e71bc7abe..2eae8fec8e 100644 --- a/mod/viewcontacts.php +++ b/mod/viewcontacts.php @@ -43,7 +43,7 @@ function viewcontacts_content(&$a) { if(((! count($a->profile)) || ($a->profile['hide-friends']))) { notice( t('Permission denied.') . EOL); - return; + return $o; } $r = q("SELECT COUNT(*) AS `total` FROM `contact`