$a->page['aside'] .= $vcard_widget;
}
- if(! count($c))
+ if (! dbm::is_result($c)) {
return;
+ }
if(! $cid) {
if(get_my_url()) {
$id = 0;
- foreach($r as $rr) {
+ foreach ($r as $rr) {
//get further details of the contact
$contact_details = get_contact_details_by_url($rr['url'], $uid);