returning "403 Forbidden" if addressbook_bo->save() fails, happens when writing new entries in ABs without ADD rights

This commit is contained in:
Ralf Becker 2010-10-20 16:16:03 +00:00
parent e86f5fb663
commit c67a61b692

View File

@ -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']))