Fix bug in input class.

Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
This commit is contained in:
Taylor Otwell 2012-04-04 11:37:46 -05:00
parent 98fa907805
commit 1c26ce8ce5
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ public static function has($key)
*/ */
public static function get($key = null, $default = null) public static function get($key = null, $default = null)
{ {
$value = Request::foundation()->request->get($key); $value = array_get(Request::foundation()->request->all(), $key);
if (is_null($value)) if (is_null($value))
{ {