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 ); } }