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