mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-19 03:41:32 +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;
|
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;
|
if (!$this->save($target)) return 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user