From 5b5525b38f3c28fc174436901446b531ffaff9af Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 21 Feb 2019 18:59:11 +0100 Subject: [PATCH] * CardDAV/Addressbook: fix accounts not synced for preference account-selection "groupmembers" --- api/src/Contacts/Sql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Contacts/Sql.php b/api/src/Contacts/Sql.php index 67aa68b8ff..4f7ce7ed54 100644 --- a/api/src/Contacts/Sql.php +++ b/api/src/Contacts/Sql.php @@ -520,7 +520,7 @@ class Sql extends Api\Storage if (isset($filter['owner'])) { // no grants for selected owner/addressbook - if (!($filter['owner'] = array_intersect((array)$filter['owner'],array_keys($this->grants)))) + if (!array_intersect((array)$filter['owner'],array_keys($this->grants))) { if (!isset($groupmember_sql)) return false; $filter[] = substr($groupmember_sql,4);