diff --git a/htdocs/tz.php b/htdocs/tz.php index a744e644..b985b20f 100644 --- a/htdocs/tz.php +++ b/htdocs/tz.php @@ -26,7 +26,7 @@ $request = new CalDAVRequest(); $code_file = sprintf( 'tz/%s.php', $action ); if ( ! @include_once( $code_file ) ) { - $request->PreconditionFailed(400, "supported-action", 'The action "'.$_GET['action'].'" is not understood.' ); + $request->PreconditionFailed(400, "supported-action", 'The action "'.$action.'" is not understood.' ); } $request->DoResponse( 500, translate("The application failed to understand that request.") );