X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fcommon.php;h=ab27dc667a72dd990516561f4ff9b87cebcb6a89;hb=061bcd7d2fcfb8da18e63ed4fde436b38463539d;hp=0be8f1d14a7a049493832afbb4264d2ac05fde65;hpb=0436782e70f496c96f30ee7822865f777ae1d73e;p=friendica.git diff --git a/mod/common.php b/mod/common.php index 0be8f1d14a..ab27dc667a 100644 --- a/mod/common.php +++ b/mod/common.php @@ -5,7 +5,7 @@ require_once('include/Contact.php'); require_once('include/contact_selectors.php'); require_once('mod/contacts.php'); -function common_content(&$a) { +function common_content(App &$a) { $o = ''; @@ -48,8 +48,9 @@ function common_content(&$a) { $a->page['aside'] .= $vcard_widget; } - if(! count($c)) + if (! dbm::is_result($c)) { return; + } if(! $cid) { if(get_my_url()) {