Allow a response with no message to be the default.

This commit is contained in:
Andrew McMillan 2006-12-06 19:32:19 +13:00
parent a57c043163
commit bb6185ff5f

View File

@ -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;