forked from extern/egroupware
* Addressbook - Merging contacts now keeps all distribution lists
This commit is contained in:
parent
5774524360
commit
37f45855a9
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user