From 1f50db2b2adafb986cd5157aa2e516e19852b90d Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Tue, 28 Jun 2016 12:32:09 +0200 Subject: [PATCH] viewcontacts - fix: tabmenu was not returned --- mod/viewcontacts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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` -- 2.39.5