From bb6185ff5fd47b0776b883dfb6964fb2448c805b Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Wed, 6 Dec 2006 19:32:19 +1300 Subject: [PATCH] Allow a response with no message to be the default. --- inc/CalDAVRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/CalDAVRequest.php b/inc/CalDAVRequest.php index 9a47956f..6207e905 100644 --- a/inc/CalDAVRequest.php +++ b/inc/CalDAVRequest.php @@ -337,7 +337,7 @@ class CalDAVRequest * @param int $status The HTTP status code to send. * @param string $message The friendly text message to send with the response. */ - function DoResponse( $status, $message, $content_type="text/plain" ) { + function DoResponse( $status, $message="", $content_type="text/plain" ) { global $session, $c; switch( $status ) { case 100: $status_text = "Continue"; break;