From eef3126f0b4dda20e35662fee8a3ea46901cead8 Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Sat, 19 Dec 2020 22:57:14 +0000 Subject: Fix CardDAV address book ID (cherry picked from commit 6579007ca080a7d126be0c3130043f754eb6ac2e) --- 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 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; -- cgit v1.2.3