From ed21a9c4b4c7bc8172d38c6579c9a827eb74f07e Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 30 Nov 2014 09:24:44 +0000 Subject: [PATCH] fixed wrong (just the collection) Location header on POST to ?add-member url --- addressbook/inc/class.addressbook_groupdav.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addressbook/inc/class.addressbook_groupdav.inc.php b/addressbook/inc/class.addressbook_groupdav.inc.php index 46c0f4f448..91e69b6554 100644 --- a/addressbook/inc/class.addressbook_groupdav.inc.php +++ b/addressbook/inc/class.addressbook_groupdav.inc.php @@ -7,7 +7,7 @@ * @package addressbook * @subpackage groupdav * @author Ralf Becker - * @copyright (c) 2007-13 by Ralf Becker + * @copyright (c) 2007-14 by Ralf Becker * @version $Id$ */ @@ -674,7 +674,7 @@ class addressbook_groupdav extends groupdav_handler return '403 Forbidden'; // happens when writing new entries in AB's without ADD rights } - if (!isset($contact['etag'])) + if (empty($contact['etag']) || empty($contact['cardav_name'])) { if ($is_group) {