From 285eb8494b7a206954b5220f8588b924abb88897 Mon Sep 17 00:00:00 2001 From: nathangray Date: Wed, 27 Sep 2017 09:00:29 -0600 Subject: [PATCH] Addressbook - Merging contacts now keeps all distribution lists, and it works now --- api/src/Contacts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Contacts.php b/api/src/Contacts.php index 8b130d3891..e5afb9fbbc 100755 --- a/api/src/Contacts.php +++ b/api/src/Contacts.php @@ -1893,7 +1893,7 @@ class Contacts extends Contacts\Storage // Merge distribution lists $lists = $this->read_distributionlist(array($contact['id'])); - foreach($lists as $list_id => $list_name) + foreach($lists[$contact['id']] as $list_id => $list_name) { parent::add2list($target['id'], $list_id); }