mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 09:28:29 +01:00
"fixed problem reported on the german list: copied address contains the original uid"
This commit is contained in:
parent
3b5d46022d
commit
f755c12365
@ -1369,7 +1369,10 @@ class addressbook_ui extends addressbook_bo
|
||||
$GLOBALS['egw_info']['user']['account_firstname'],$GLOBALS['egw_info']['user']['account_lastname']),
|
||||
$content['id']));
|
||||
// create a new contact with the content of the old
|
||||
foreach(array('id','modified','modifier','account_id') as $key) unset($content[$key]);
|
||||
foreach(array('id','modified','modifier','account_id','uid') as $key)
|
||||
{
|
||||
unset($content[$key]);
|
||||
}
|
||||
$content['owner'] = $this->default_private ? $this->user.'p' : $this->default_addressbook;
|
||||
$content['creator'] = $this->user;
|
||||
$content['created'] = $this->now_su;
|
||||
|
Loading…
Reference in New Issue
Block a user