From c67a61b692b6c6463ffefa39dd12e7269a1f42d6 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 20 Oct 2010 16:16:03 +0000 Subject: [PATCH] returning "403 Forbidden" if addressbook_bo->save() fails, happens when writing new entries in ABs without ADD rights --- addressbook/inc/class.addressbook_groupdav.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.addressbook_groupdav.inc.php b/addressbook/inc/class.addressbook_groupdav.inc.php index c554df7497..49d63f3a9f 100644 --- a/addressbook/inc/class.addressbook_groupdav.inc.php +++ b/addressbook/inc/class.addressbook_groupdav.inc.php @@ -408,7 +408,7 @@ class addressbook_groupdav extends groupdav_handler { return '412 Precondition Failed'; } - return false; + return '403 Forbidden'; // happens when writing new entries in AB's without ADD rights } if (!isset($contact['etag']))