Skip to content

Commit

Permalink
Fix capitalization regression in Request::server()
Browse files Browse the repository at this point in the history
Signed-off-by: Kelly Banman <kelly.banman@gmail.com>
  • Loading branch information
kbanman committed May 22, 2012
1 parent d29c5bf commit e46d9c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion laravel/request.php
Expand Up @@ -81,7 +81,7 @@ public static function headers()
*/
public static function server($key = null, $default = null)
{
return array_get(static::foundation()->server->all(), $key, $default);
return array_get(static::foundation()->server->all(), strtoupper($key), $default);
}

/**
Expand Down

0 comments on commit e46d9c5

Please sign in to comment.