Addressbook - Merging contacts now keeps all distribution lists, and it works now

This commit is contained in:
nathangray 2017-09-27 09:00:29 -06:00
parent 37f45855a9
commit 7ccc730fa9

View File

@ -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);
}