Merge pull request #2647 from rabuzarus/2806_viewcontacts

viewcontacts - fix: tabmenu was not returned
This commit is contained in:
Tobias Diekershoff 2016-06-28 12:41:43 +02:00 committed by GitHub
commit e94b133f6d

View File

@ -43,7 +43,7 @@ function viewcontacts_content(&$a) {
if(((! count($a->profile)) || ($a->profile['hide-friends']))) { if(((! count($a->profile)) || ($a->profile['hide-friends']))) {
notice( t('Permission denied.') . EOL); notice( t('Permission denied.') . EOL);
return; return $o;
} }
$r = q("SELECT COUNT(*) AS `total` FROM `contact` $r = q("SELECT COUNT(*) AS `total` FROM `contact`