mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
unsetting etag too when copying contacts to fix optimistic locking error after 2. apply
This commit is contained in:
parent
6c1f963aee
commit
95d4631f61
@ -1399,7 +1399,7 @@ class addressbook_ui extends addressbook_bo
|
|||||||
$GLOBALS['egw_info']['user']['account_firstname'],$GLOBALS['egw_info']['user']['account_lastname']),
|
$GLOBALS['egw_info']['user']['account_firstname'],$GLOBALS['egw_info']['user']['account_lastname']),
|
||||||
$content['id']));
|
$content['id']));
|
||||||
// create a new contact with the content of the old
|
// create a new contact with the content of the old
|
||||||
foreach(array('id','modified','modifier','account_id','uid') as $key)
|
foreach(array('id','modified','modifier','account_id','uid','etag') as $key)
|
||||||
{
|
{
|
||||||
unset($content[$key]);
|
unset($content[$key]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user