From 3e1e8ef0314455611f6d327e3e2a85db503cae45 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Thu, 6 Oct 2011 11:05:58 +0200 Subject: [PATCH] Correct error text. --- inc/caldav-PUT-vcard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/caldav-PUT-vcard.php b/inc/caldav-PUT-vcard.php index 546e6ab5..f46e279e 100644 --- a/inc/caldav-PUT-vcard.php +++ b/inc/caldav-PUT-vcard.php @@ -39,7 +39,7 @@ else { if ( ! isset($c->readonly_webdav_collections) || $c->readonly_webdav_collections ) { $request->PreconditionFailed(405,'method-not-allowed',translate('You may not PUT to a collection URL')); } - $request->DoResponse(403,translate('PUT on a collection is only allowed for text/calendar content against a calendar collection')); + $request->DoResponse(403,translate('PUT on a collection is only allowed for text/vcard content against an addressbook collection')); } $dest->NeedPrivilege('DAV::write-content'); }