Skip to content

Commit 1c26ce8

Browse files
committed
Fix bug in input class.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
1 parent 98fa907 commit 1c26ce8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

laravel/input.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public static function has($key)
5555
*/
5656
public static function get($key = null, $default = null)
5757
{
58-
$value = Request::foundation()->request->get($key);
58+
$value = array_get(Request::foundation()->request->all(), $key);
5959

6060
if (is_null($value))
6161
{

0 commit comments

Comments
 (0)