progress on abook_vcard

This commit is contained in:
zotlabs
2016-12-20 18:43:20 -08:00
parent 6ff462abf3
commit 493aa9f20d
5 changed files with 182 additions and 181 deletions

View File

@@ -654,12 +654,9 @@ class Connedit extends \Zotlabs\Web\Controller {
}
$vc = get_abconfig(local_channel(),$contact['abook_xchan'],'system','vcard');
logger('vc: ' . $vc);
$vctmp = (($vc) ? \Sabre\VObject\Reader::read($vc) : null);
$vcard = (($vctmp) ? get_vcard_array($vctmp) : [] );
logger('vcard: ' . print_r($vcard,true));
$vcard = (($vctmp) ? get_vcard_array($vctmp,$contact['abook_id']) : [] );
$tpl = get_markup_template("abook_edit.tpl");