diff --git a/Zotlabs/Module/Connedit.php b/Zotlabs/Module/Connedit.php index 3aaa2a874..aac42abb9 100644 --- a/Zotlabs/Module/Connedit.php +++ b/Zotlabs/Module/Connedit.php @@ -90,7 +90,7 @@ class Connedit extends \Zotlabs\Web\Controller { $vcard = (($vc) ? \Sabre\VObject\Reader::read($vc) : null); $serialised_vcard = update_vcard($_REQUEST,$vcard); if($serialised_vcard) - set_abconfig(local_channel(),$orig_record['abook_xchan'],'system','vcard',$serialised_vcard); + set_abconfig(local_channel(),$orig_record[0]['abook_xchan'],'system','vcard',$serialised_vcard); if(intval($orig_record[0]['abook_self'])) { $autoperms = intval($_POST['autoperms']); diff --git a/view/tpl/abook_edit.tpl b/view/tpl/abook_edit.tpl index c36eca6ff..0b18e5d4c 100755 --- a/view/tpl/abook_edit.tpl +++ b/view/tpl/abook_edit.tpl @@ -360,7 +360,210 @@ $(document).ready(function() { + + +