Merge pull request #2647 from rabuzarus/2806_viewcontacts
viewcontacts - fix: tabmenu was not returned
This commit is contained in:
commit
e94b133f6d
|
@ -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`
|
||||||
|
|
Loading…
Reference in a new issue