From 37fed349727d0b9883bc5316647edfeb6ce40754 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Lehrke?= Date: Fri, 23 Jul 2010 18:06:18 +0000 Subject: [PATCH] Allow moving of existing cantacts between adressbooks --- addressbook/inc/class.addressbook_groupdav.inc.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/addressbook/inc/class.addressbook_groupdav.inc.php b/addressbook/inc/class.addressbook_groupdav.inc.php index 67b545af8b..443cc2a203 100644 --- a/addressbook/inc/class.addressbook_groupdav.inc.php +++ b/addressbook/inc/class.addressbook_groupdav.inc.php @@ -342,13 +342,11 @@ class addressbook_groupdav extends groupdav_handler $contact['id'] = $oldContact['id']; // dont allow the client to overwrite certain values $contact['uid'] = $oldContact['uid']; - $contact['owner'] = $oldContact['owner']; + //$contact['owner'] = $oldContact['owner']; $contact['private'] = $oldContact['private']; } - else - { - $contact['owner'] = $user; - } + + $contact['owner'] = $user; if ($this->http_if_match) $contact['etag'] = self::etag2value($this->http_if_match);