aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2020-12-19 23:57:14 +0100
committerMax Kostikov <max@kostikov.co>2020-12-19 23:57:14 +0100
commit6579007ca080a7d126be0c3130043f754eb6ac2e (patch)
tree72b8c60ba36a954e9f8ec1f67e56308d3086a542
parentc596fb14bb247d7841742e7a8451e51af38ac7e4 (diff)
downloadvolse-hubzilla-6579007ca080a7d126be0c3130043f754eb6ac2e.tar.gz
volse-hubzilla-6579007ca080a7d126be0c3130043f754eb6ac2e.tar.bz2
volse-hubzilla-6579007ca080a7d126be0c3130043f754eb6ac2e.zip
Fix CardDAV address book ID
-rw-r--r--include/import.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/import.php b/include/import.php
index cfbb8775d..d02cc1e1f 100644
--- a/include/import.php
+++ b/include/import.php
@@ -1554,6 +1554,7 @@ function sync_addressbook($channel, $data) {
$id = get_cdav_id($principalUri, $data['uri'], 'addressbooks');
if(! $id)
return;
+ $id = $id['id'];
}
$pdo = \DBA::$dba->db;