From 7e05f4221e947fa82df7fcbdaeaf637490ee3b09 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Mon, 4 Jun 2007 23:40:11 +1200 Subject: [PATCH] Switch error response to use XMLResponse --- inc/CalDAVRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/CalDAVRequest.php b/inc/CalDAVRequest.php index a95b301f..e468f922 100644 --- a/inc/CalDAVRequest.php +++ b/inc/CalDAVRequest.php @@ -452,7 +452,7 @@ class CalDAVRequest } $error = new XMLElement("error", new XMLElement( "LOCK",$badprops), array("xmlns" => "DAV:") ); - $this->DoResponse( 422, $error->Render(0,''), 'text/xml; charset="utf-8"'); + $this->XMLResponse( 422, $error ); } }