From 6579007ca080a7d126be0c3130043f754eb6ac2e Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Sat, 19 Dec 2020 23:57:14 +0100 Subject: Fix CardDAV address book ID --- include/import.php | 1 + 1 file changed, 1 insertion(+) (limited to 'include/import.php') 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; -- cgit v1.2.3