* Addressbook - Merging contacts now keeps all distribution lists

This commit is contained in:
nathangray 2017-09-26 11:05:19 -06:00
parent 5774524360
commit 37f45855a9

View File

@ -1879,6 +1879,13 @@ class Contacts extends Contacts\Storage
break;
}
}
// Merge distribution lists
$lists = $this->read_distributionlist(array($contact['id']));
foreach($lists as $list_id => $list_name)
{
parent::add2list($target['id'], $list_id);
}
}
if (!$this->save($target)) return 0;