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 1ae0f29f01
commit 285eb8494b

View File

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