From 7ccc730fa9309d701bc0a96e00b88b154205ae1c 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 ced8d7ce18..86da418383 100755 --- a/api/src/Contacts.php +++ b/api/src/Contacts.php @@ -1882,7 +1882,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); }