diff --git a/app/format.php b/app/format.php index 981ada1..e6c9906 100644 --- a/app/format.php +++ b/app/format.php @@ -16,7 +16,7 @@ class Format { // do something with response headers foreach( $formats as $key => $value ) { - if ( !empty($env["request.vars"]["format"]) && $env["request.get"]["format"] == $key ) { + if ( !empty($env["request.vars"]["format"]) && $env["request.vars"]["format"] == $key ) { $headers["Content-Type"] = $value; } }