unsetting etag too when copying contacts to fix optimistic locking error after 2. apply

This commit is contained in:
Ralf Becker
2009-11-28 11:57:47 +00:00
parent a3feb49a21
commit ecb7c1c71e

View File

@ -1352,7 +1352,7 @@ 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','uid') as $key)
foreach(array('id','modified','modifier','account_id','uid','etag') as $key)
{
unset($content[$key]);
}