aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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;