Index: vcard.module =================================================================== --- vcard.module (revision 762) +++ vcard.module (working copy) @@ -99,15 +99,17 @@ } // URL - if (!empty($vcard_map['url'])) { - $vcard->setURL($vcard_map['url']); + $url = vcard_get_field('url', $account); + if (!empty($url)) { + $vcard->setURL($url); } // Telephone - if (!empty($vcard_map['telephone'])) { - $vcard->setURL($vcard_map['telephone']); + $tel = vcard_get_field('telephone', $account); + if (!empty($tel)) { + $vcard->addTelephone($tel); } - + // Address $street = vcard_get_field('street', $account); $city = vcard_get_field('city', $account);