From 95d4631f61fef00690f9464605d4b1192b4eb156 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 28 Nov 2009 11:46:48 +0000 Subject: [PATCH] unsetting etag too when copying contacts to fix optimistic locking error after 2. apply --- addressbook/inc/class.addressbook_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.addressbook_ui.inc.php b/addressbook/inc/class.addressbook_ui.inc.php index 8b939c71d1..b5e0b03c80 100644 --- a/addressbook/inc/class.addressbook_ui.inc.php +++ b/addressbook/inc/class.addressbook_ui.inc.php @@ -1399,7 +1399,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]); }