fixed wrong (just the collection) Location header on POST to ?add-member url

This commit is contained in:
Ralf Becker 2014-11-30 09:24:23 +00:00
parent 244e859413
commit 8da2d2a0ab

View File

@ -7,7 +7,7 @@
* @package addressbook
* @subpackage groupdav
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
* @copyright (c) 2007-13 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
* @copyright (c) 2007-14 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
* @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)
{