diff --git a/inc/CalDAVRequest.php b/inc/CalDAVRequest.php index 16f89adb..54958f5e 100644 --- a/inc/CalDAVRequest.php +++ b/inc/CalDAVRequest.php @@ -307,7 +307,7 @@ class CalDAVRequest )) )); } - $response = new XMLElement( "multistatus", new XMLElement( 'response', $response), array('xmlns'=>'DAV:') ); + $response = new XMLElement( "multistatus", $response, array('xmlns'=>'DAV:') ); $xmldoc = $response->Render(0,''); $this->DoResponse( 207, $xmldoc, 'text/xml; charset="utf-8"' ); // Which we won't come back from