From 6ff462abf39b76fb8ad6f5734c058e9b19dbc774 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Tue, 20 Dec 2016 17:19:53 -0800 Subject: more abook_vcard --- Zotlabs/Module/Connedit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs/Module') 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']); -- cgit v1.2.3