From 7b966171cfa274a0020303f838cf1678b7855dc4 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Sun, 21 Nov 2010 00:50:47 +1300 Subject: [PATCH] Correct typo in POST handling. --- inc/caldav-POST.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/caldav-POST.php b/inc/caldav-POST.php index 2b4954ef..0de06895 100644 --- a/inc/caldav-POST.php +++ b/inc/caldav-POST.php @@ -120,7 +120,7 @@ function handle_cancel_request( $ic ) { $response = $reply->NewXMLElement( "response", false, false, 'urn:ietf:params:xml:ns:caldav' ); $reply->CalDAVElement($response, "request-status", "2.0;Success" ); // Cargo-cult setting - $response = $reply->NewXMLElement( "schedule-response", $responses, $reply->GetXmlNsArray() ); + $response = $reply->NewXMLElement( "schedule-response", $response, $reply->GetXmlNsArray() ); $request->XMLResponse( 200, $response ); }