Fix the logging so that we get the raw_post logged for !GET

This commit is contained in:
Andrew McMillan 2010-11-17 13:15:33 +13:00
parent 4cf0d0696b
commit 58eb6fa7c0

View File

@ -80,6 +80,6 @@ switch ( $_SERVER['REQUEST_METHOD'] ) {
dbg_error_log( "freebusy", "Unhandled request method >>%s<<", $_SERVER['REQUEST_METHOD'] );
dbg_log_array( "freebusy", 'HEADERS', $raw_headers );
dbg_log_array( "freebusy", '_SERVER', $_SERVER, true );
dbg_error_log( "freebusy", "RAW: %s", str_replace("\n", "",str_replace("\r", "", $raw_post)) );
@dbg_error_log( "freebusy", "RAW: %s", str_replace("\n", "",str_replace("\r", "", $request->raw_post)) );
}