mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
* Addressbook - Merging contacts now keeps all distribution lists
This commit is contained in:
parent
a4fdc052ab
commit
2d57801c6a
@ -1890,6 +1890,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