aboutsummaryrefslogtreecommitdiffstats
path: root/include/import.php
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2020-12-19 22:57:14 +0000
committerMario <mario@mariovavti.com>2020-12-21 09:04:36 +0100
commiteef3126f0b4dda20e35662fee8a3ea46901cead8 (patch)
tree22e90992b438997124b34ce07d85f4bc41d7c611 /include/import.php
parent2df5a2a66d209ae9fc734ab27c1659078fbcdd9e (diff)
downloadvolse-hubzilla-eef3126f0b4dda20e35662fee8a3ea46901cead8.tar.gz
volse-hubzilla-eef3126f0b4dda20e35662fee8a3ea46901cead8.tar.bz2
volse-hubzilla-eef3126f0b4dda20e35662fee8a3ea46901cead8.zip
Fix CardDAV address book ID
(cherry picked from commit 6579007ca080a7d126be0c3130043f754eb6ac2e)
Diffstat (limited to 'include/import.php')
-rw-r--r--include/import.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/import.php b/include/import.php
index 8f7c28f93..831a0f257 100644
--- a/include/import.php
+++ b/include/import.php
@@ -1533,6 +1533,7 @@ function sync_addressbook($channel, $data) {
$id = get_cdav_id($principalUri, $data['uri'], 'addressbooks');
if(! $id)
return;
+ $id = $id['id'];
}
$pdo = \DBA::$dba->db;