Commit 1c26ce8c authored by Taylor Otwell's avatar Taylor Otwell

Fix bug in input class.

Signed-off-by: 's avatarTaylor Otwell <taylorotwell@gmail.com>
parent 98fa9078
...@@ -55,7 +55,7 @@ class Input { ...@@ -55,7 +55,7 @@ class Input {
*/ */
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))
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment