aboutsummaryrefslogtreecommitdiffstats
path: root/mod/connedit.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-01-10 14:59:10 -0800
committerfriendica <info@friendica.com>2015-01-10 14:59:10 -0800
commit10102ac2ac4d5b02012a9794e23656717ab05556 (patch)
treeec5e3f18cd1d4be35e01b8ac648eb867f8f23021 /mod/connedit.php
parent8c4eb839f9cf224c920e5a0c45c22961cac62ce1 (diff)
downloadvolse-hubzilla-10102ac2ac4d5b02012a9794e23656717ab05556.tar.gz
volse-hubzilla-10102ac2ac4d5b02012a9794e23656717ab05556.tar.bz2
volse-hubzilla-10102ac2ac4d5b02012a9794e23656717ab05556.zip
connection clone issues
Diffstat (limited to 'mod/connedit.php')
-rw-r--r--mod/connedit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/connedit.php b/mod/connedit.php
index abab0416e..7a38187dd 100644
--- a/mod/connedit.php
+++ b/mod/connedit.php
@@ -241,7 +241,7 @@ function connedit_clone(&$a) {
unset($clone['abook_account']);
unset($clone['abook_channel']);
- build_sync_packet(0 /* use the current local_user */, array(array('abook' => array($clone))));
+ build_sync_packet(0 /* use the current local_user */, array('abook' => array($clone)));
}
/* @brief Generate content of connection edit page
@@ -402,7 +402,7 @@ function connedit_content(&$a) {
contact_remove(local_user(), $orig_record[0]['abook_id']);
build_sync_packet(0 /* use the current local_user */,
- array(array('abook' => array(
+ array('abook' => array(array(
'abook_xchan' => $orig_record[0]['abook_xchan'],
'entry_deleted' => true))
)